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

Freeswitch SVN mikej at freeswitch.org
Fri Nov 30 23:51:06 EST 2007


Author: mikej
Date: Fri Nov 30 23:51:06 2007
New Revision: 6457

Modified:
   freeswitch/trunk/src/switch_ivr_async.c

Log:
fix build

Modified: freeswitch/trunk/src/switch_ivr_async.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_async.c	(original)
+++ freeswitch/trunk/src/switch_ivr_async.c	Fri Nov 30 23:51:06 2007
@@ -535,7 +535,7 @@
 			
             if (switch_buffer_inuse(ep.buffer) >= len) {
                 switch_buffer_lock(ep.buffer);				
-                write_frame.datalen = switch_buffer_read(ep.buffer, buf, len);
+                write_frame.datalen = (uint32_t)switch_buffer_read(ep.buffer, buf, len);
 				write_frame.samples = write_frame.datalen / 2;
 				if (switch_core_session_write_frame(session, &write_frame, 1000, 0) != SWITCH_STATUS_SUCCESS) {
 					goto end;



More information about the Freeswitch-svn mailing list