[Freeswitch-svn] [commit] r9048 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Wed Jul 16 00:48:02 EDT 2008


Author: mikej
Date: Wed Jul 16 00:48:01 2008
New Revision: 9048

Modified:
   freeswitch/trunk/src/switch_ivr_play_say.c

Log:
tweak

Modified: freeswitch/trunk/src/switch_ivr_play_say.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_play_say.c	(original)
+++ freeswitch/trunk/src/switch_ivr_play_say.c	Wed Jul 16 00:48:01 2008
@@ -1278,8 +1278,8 @@
                 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;
 			}



More information about the Freeswitch-svn mailing list