Changeset 1266 for pjproject/trunk/pjsip/src/pjsip/sip_msg.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_msg.c
r1240 r1266 98 98 static int init_status_phrase() 99 99 { 100 inti;100 unsigned i; 101 101 pj_str_t default_reason_phrase = { "Default status message", 22}; 102 102 … … 195 195 pj_str_t *str) 196 196 { 197 inti;197 unsigned i; 198 198 for (i=0; i<PJ_ARRAY_SIZE(method_names); ++i) { 199 199 if (pj_memcmp(str->ptr, method_names[i]->ptr, str->slen)==0 || … … 516 516 } 517 517 518 return (code>=100 && code<(sizeof(status_phrase)/sizeof(status_phrase[0]))) ? 518 return (code>=100 && 519 code<(int)(sizeof(status_phrase)/sizeof(status_phrase[0]))) ? 519 520 &status_phrase[code] : &status_phrase[0]; 520 521 }
Note: See TracChangeset
for help on using the changeset viewer.