Navigation



Ignore:
Timestamp:
Jul 27, 2010, 2:56:21 PM (14 years ago)
Author:
Alexandre Westfahl <awestfahl@freediameter.net>
Branch:
default
Phase:
public
Message:

Corrected compilation warnings on app_sip and test_sip

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/app_sip/locationinfosl.c

    r427 r430  
    4242       
    4343        struct msg *ans, *qry;
    44         struct avp *avp, *groupedavp;
     44        struct avp *avp;
    4545        struct avp_hdr *avphdr;
    4646        union avp_value value;
     
    8686                CHECK_FCT( fd_msg_search_avp ( qry, sip_dict.SIP_AOR, &avp) );
    8787                CHECK_FCT( fd_msg_avp_hdr( avp, &avphdr )  );
    88                 int diameterurilen;
     88                size_t diameterurilen;
    8989                char * diameter_uri=NULL;
    9090               
     
    105105                  {
    106106                    CHECK_FCT( fd_msg_avp_new ( sip_dict.Redirect_Host, 0, &avp ) );
    107                     value.os.data=diameter_uri;
     107                    value.os.data=(unsigned char *)diameter_uri;
    108108                    value.os.len=diameterurilen;
    109109                    CHECK_FCT( fd_msg_avp_setvalue( avp, &value ) );
Note: See TracChangeset for help on using the changeset viewer.