Changeset 4537 for pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_cli.c
- Timestamp:
- Jun 19, 2013 6:47:43 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app_cli.c
r4522 r4537 281 281 /* Get input URL */ 282 282 static void get_input_url(char *buf, 283 int len,283 pj_size_t len, 284 284 pj_cli_cmd_val *cval, 285 285 struct input_result *result) … … 306 306 if (pj_isdigit(*buf) || *buf=='-') { 307 307 308 inti;308 unsigned i; 309 309 310 310 if (*buf=='-') … … 316 316 if (!pj_isdigit(buf[i])) { 317 317 pj_cli_sess_write_msg(cval->sess, err_invalid_input.ptr, 318 318 (int)err_invalid_input.slen); 319 319 return; 320 320 } … … 332 332 333 333 pj_cli_sess_write_msg(cval->sess, err_invalid_input.ptr, 334 err_invalid_input.slen);334 (int)err_invalid_input.slen); 335 335 result->nb_result = PJSUA_APP_NO_NB; 336 336 return; … … 791 791 pj_ansi_snprintf(out_str, sizeof(out_str), 792 792 "Invalid account id %d\n", i); 793 str_len = pj_ansi_strlen(out_str);793 str_len = (unsigned)pj_ansi_strlen(out_str); 794 794 pj_cli_sess_write_msg(cval->sess, out_str, str_len); 795 795 } else { … … 797 797 pj_ansi_snprintf(out_str, sizeof(out_str), 798 798 "Account %d deleted\n", i); 799 str_len = pj_ansi_strlen(out_str);799 str_len = (unsigned)pj_ansi_strlen(out_str); 800 800 pj_cli_sess_write_msg(cval->sess, out_str, str_len); 801 801 } … … 2493 2493 break; 2494 2494 case CMD_VIDEO_WIN_ARRANGE: 2495 status = cmd_arrange_vid_win( cval);2495 status = cmd_arrange_vid_win(); 2496 2496 break; 2497 2497 case CMD_VIDEO_WIN_SHOW:
Note: See TracChangeset
for help on using the changeset viewer.