From 0e41f84afd1dd29fb47c90ae900b6851f99d3ec2 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Wed, 16 Jul 2008 04:48:01 +0000 Subject: [PATCH] tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9048 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_play_say.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/switch_ivr_play_say.c b/src/switch_ivr_play_say.c index 9218f11e85..5182f4c39c 100644 --- a/src/switch_ivr_play_say.c +++ b/src/switch_ivr_play_say.c @@ -1278,8 +1278,8 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_wait_for_silence(switch_core_session_ break; } - write_frame.samples = olen; - write_frame.datalen = olen * sizeof(int16_t); + write_frame.samples = (uint32_t)olen; + write_frame.datalen = (uint32_t)(olen * sizeof(int16_t)); if ((status = switch_core_session_write_frame(session, &write_frame, SWITCH_IO_FLAG_NONE, 0)) != SWITCH_STATUS_SUCCESS) { break; }