Changeset 1266 for pjproject/trunk/pjsip/src/pjsip/sip_transport.c
- Timestamp:
- May 11, 2007 3:14:34 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_transport.c
r1248 r1266 98 98 * Transport names. 99 99 */ 100 struct 100 struct transport_names_t 101 101 { 102 102 pjsip_transport_type_e type; … … 217 217 218 218 /* Check that argument is valid. */ 219 PJ_ASSERT_RETURN( type < PJ_ARRAY_SIZE(transport_names), 0);219 PJ_ASSERT_RETURN((unsigned)type < PJ_ARRAY_SIZE(transport_names), 0); 220 220 221 221 /* Return transport flag. */ … … 236 236 237 237 /* Check that argument is valid. */ 238 PJ_ASSERT_RETURN( type < PJ_ARRAY_SIZE(transport_names), 5060);238 PJ_ASSERT_RETURN((unsigned)type < PJ_ARRAY_SIZE(transport_names), 5060); 239 239 240 240 /* Return the port. */ … … 254 254 255 255 /* Check that argument is valid. */ 256 PJ_ASSERT_RETURN( type <PJ_ARRAY_SIZE(transport_names), "Unknown");256 PJ_ASSERT_RETURN((unsigned)type<PJ_ARRAY_SIZE(transport_names), "Unknown"); 257 257 258 258 /* Return the port. */ … … 415 415 } 416 416 417 if (len < 1 || len >= sizeof(info_buf)) {417 if (len < 1 || len >= (int)sizeof(info_buf)) { 418 418 return (char*)obj_name; 419 419 }
Note: See TracChangeset
for help on using the changeset viewer.