Changeset 4537 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_dump.c
- Timestamp:
- Jun 19, 2013 6:47:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_dump.c
r4486 r4537 131 131 if (len < 1 || len > end-p) { 132 132 *p = '\0'; 133 return ( p-buf);133 return (unsigned)(p-buf); 134 134 } 135 135 p += len; … … 189 189 if (len < 1 || len > end-p) { 190 190 *p = '\0'; 191 return ( p-buf);191 return (unsigned)(p-buf); 192 192 } 193 193 p += len; … … 204 204 if (len < 1 || len > end-p) { 205 205 *p = '\0'; 206 return ( p-buf);206 return (unsigned)(p-buf); 207 207 } 208 208 p += len; 209 209 210 return ( p-buf);210 return (unsigned)(p-buf); 211 211 } 212 212 … … 448 448 449 449 if (has_stat) { 450 len = dump_media_stat(indent, p, end-p, &stat,450 len = dump_media_stat(indent, p, (unsigned)(end-p), &stat, 451 451 rx_info, tx_info); 452 452 p += len; … … 949 949 print_call(indent, call_id, tmp, sizeof(tmp)); 950 950 951 len = pj_ansi_strlen(tmp);951 len = (int)pj_ansi_strlen(tmp); 952 952 pj_ansi_strcpy(buffer, tmp); 953 953 … … 994 994 /* Dump session statistics */ 995 995 if (with_media) 996 dump_media_session(indent, p, end-p, call);996 dump_media_session(indent, p, (unsigned)(end-p), call); 997 997 998 998 pjsip_dlg_dec_lock(dlg);
Note: See TracChangeset
for help on using the changeset viewer.