From ca6edf34857edc5d251c6934260d8dedf78c08db Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 27 Jan 2006 17:36:37 +0000 Subject: [PATCH] tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@458 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/switch_ivr.c b/src/switch_ivr.c index 926e6f8dd4..9b2778865a 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -89,7 +89,7 @@ SWITCH_DECLARE(switch_status) switch_ivr_record_file(switch_core_session *sessio while (switch_channel_get_state(channel) == CS_EXECUTE) { - int len; + size_t len; if (dtmf_callback) { /* @@ -110,7 +110,7 @@ SWITCH_DECLARE(switch_status) switch_ivr_record_file(switch_core_session *sessio break; } - len = read_frame->datalen / 2; + len = (size_t) read_frame->datalen / 2; switch_core_file_write(&fh, read_frame->data, &len); }