Changeset 4537 for pjproject/trunk/pjsip-apps/src/samples/icedemo.c
- Timestamp:
- Jun 19, 2013 6:47:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/samples/icedemo.c
r4217 r4537 548 548 *p = '\0'; 549 549 550 return p-buffer;550 return (int)(p-buffer); 551 551 } 552 552 … … 623 623 /* And encode the candidates as SDP */ 624 624 for (j=0; j<cand_cnt; ++j) { 625 printed = print_cand(p, maxlen - ( p-buffer), &cand[j]);625 printed = print_cand(p, maxlen - (unsigned)(p-buffer), &cand[j]); 626 626 if (printed < 0) 627 627 return -PJ_ETOOSMALL; … … 634 634 635 635 *p = '\0'; 636 return p - buffer;636 return (int)(p - buffer); 637 637 } 638 638 … … 728 728 729 729 while (!done) { 730 int len;730 pj_size_t len; 731 731 char *line; 732 732 … … 1078 1078 char input[80], *cmd; 1079 1079 const char *SEP = " \t\r\n"; 1080 int len;1080 pj_size_t len; 1081 1081 1082 1082 icedemo_print_menu();
Note: See TracChangeset
for help on using the changeset viewer.