Changeset 1266 for pjproject/trunk/pjsip/src/pjsip/sip_endpoint.c
- Timestamp:
- May 11, 2007 3:14:34 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip/sip_endpoint.c
r1240 r1266 168 168 pj_status_t status = PJ_SUCCESS; 169 169 pjsip_module *m; 170 inti;170 unsigned i; 171 171 172 172 pj_rwmutex_lock_write(endpt->mod_mutex); … … 248 248 249 249 /* Make sure the module exists in the array. */ 250 PJ_ASSERT_ON_FAIL( mod->id>=0 && mod->id<PJ_ARRAY_SIZE(endpt->modules) && 250 PJ_ASSERT_ON_FAIL( mod->id>=0 && 251 mod->id<(int)PJ_ARRAY_SIZE(endpt->modules) && 251 252 endpt->modules[mod->id] == mod, 252 253 {status = PJ_ENOTFOUND; goto on_return;}); … … 1080 1081 1081 1082 len = pj_ansi_strlen(format); 1082 if (len < sizeof(newformat)-30) {1083 if (len < (int)sizeof(newformat)-30) { 1083 1084 pj_str_t errstr; 1084 1085
Note: See TracChangeset
for help on using the changeset viewer.