Navigation


Changeset 709:19a9470de77a in freeDiameter for extensions/app_radgw/rgwx_sip.c


Ignore:
Timestamp:
Feb 10, 2011, 10:49:09 AM (13 years ago)
Author:
Sebastien Decugis <sdecugis@nict.go.jp>
Branch:
default
Phase:
public
Message:

Fix a few compilations errors and warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_radgw/rgwx_sip.c

    r706 r709  
    648648                        size_t temp_len = attr->length - sizeof(struct radius_attr_hdr) + CONSTSTRLEN(SIP_PREFIX) + 1;
    649649                        CHECK_MALLOC( temp = malloc(temp_len) );
    650                         temp_len = snprintf((char *)temp, temp_len, SIP_PREFIX "%.*s", attr->length - sizeof(struct radius_attr_hdr), (char *)(attr + 1));
     650                        temp_len = snprintf((char *)temp, temp_len, SIP_PREFIX "%.*s", (int)(attr->length - sizeof(struct radius_attr_hdr)), (char *)(attr + 1));
    651651                       
    652652                        value.os.data=temp;
Note: See TracChangeset for help on using the changeset viewer.