Changeset 2766 for pjproject/trunk


Ignore:
Timestamp:
Jun 17, 2009 12:13:46 PM (15 years ago)
Author:
bennylp
Message:

Misc fix (ticket #838): compilation warning when int is not typecasted to pjsip_transport_type_e enum

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsip/sip_util.c

    r2756 r2766  
    811811        pj_strchr(&dest_info->addr.host, ':')) 
    812812    { 
    813         dest_info->type |= PJSIP_TRANSPORT_IPV6; 
     813        dest_info->type = (pjsip_transport_type_e) 
     814                          ((int)dest_info->type | PJSIP_TRANSPORT_IPV6); 
    814815    } 
    815816 
Note: See TracChangeset for help on using the changeset viewer.