diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-06-14 20:22:31 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-06-14 20:22:31 +0000 |
commit | b320c9cc527559a18a666cc6143bd3f602da6ec7 (patch) | |
tree | 872d347fab838589b8366b5771c02042681ddac8 /pjsip/src/pjsua-lib/pjsua_call.c | |
parent | 503491acaba61cc45c9a9da08da49402143af8bf (diff) |
Fixed new pjsua build/makefiles
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@508 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjsip/src/pjsua-lib/pjsua_call.c')
-rw-r--r-- | pjsip/src/pjsua-lib/pjsua_call.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/pjsip/src/pjsua-lib/pjsua_call.c b/pjsip/src/pjsua-lib/pjsua_call.c index 92c1f92e..208cb97e 100644 --- a/pjsip/src/pjsua-lib/pjsua_call.c +++ b/pjsip/src/pjsua-lib/pjsua_call.c @@ -1259,7 +1259,7 @@ static void dump_media_session(const char *indent, len = pj_ansi_snprintf(buf, end-p, "%s #%d %.*s @%dKHz, %s, peer=%s:%d", indent, i, - info.stream_info[i].fmt.encoding_name.slen, + (int)info.stream_info[i].fmt.encoding_name.slen, info.stream_info[i].fmt.encoding_name.ptr, info.stream_info[i].fmt.clock_rate / 1000, dir, @@ -1502,11 +1502,11 @@ PJ_DEF(pj_status_t) pjsua_call_dump( pjsua_call_id call_id, "%s Call time: %02dh:%02dm:%02ds, " "1st res in %d ms, conn in %dms", indent, - (duration.sec / 3600), - ((duration.sec % 3600)/60), - (duration.sec % 60), - PJ_TIME_VAL_MSEC(res_delay), - PJ_TIME_VAL_MSEC(con_delay)); + (int)(duration.sec / 3600), + (int)((duration.sec % 3600)/60), + (int)(duration.sec % 60), + (int)PJ_TIME_VAL_MSEC(res_delay), + (int)PJ_TIME_VAL_MSEC(con_delay)); if (len > 0 && len < end-p) { p += len; |