Changeset 4537 for pjproject/trunk/pjsip/src/pjsip-ua/sip_timer.c
- Timestamp:
- Jun 19, 2013 6:47:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-ua/sip_timer.c
r4213 r4537 118 118 char *p = buf; 119 119 char *endbuf = buf+size; 120 int printed;120 pj_ssize_t printed; 121 121 const pjsip_parser_const_t *pc = pjsip_parser_const(); 122 122 const pj_str_t *hname = pjsip_use_compact_form? &hdr->sname : &hdr->name; … … 150 150 &pc->pjsip_TOKEN_SPEC, ';'); 151 151 if (printed < 0) 152 return printed;152 return (int)printed; 153 153 154 154 p += printed; 155 return p - buf;155 return (int)(p - buf); 156 156 } 157 157 … … 184 184 char *p = buf; 185 185 char *endbuf = buf+size; 186 int printed;186 pj_ssize_t printed; 187 187 const pjsip_parser_const_t *pc = pjsip_parser_const(); 188 188 … … 203 203 &pc->pjsip_TOKEN_SPEC, ';'); 204 204 if (printed < 0) 205 return printed;205 return (int)printed; 206 206 207 207 p += printed; 208 return p - buf;208 return (int)(p - buf); 209 209 } 210 210
Note: See TracChangeset
for help on using the changeset viewer.