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

Freeswitch SVN mikej at freeswitch.org
Sat Nov 18 20:11:08 EST 2006


Author: mikej
Date: Sat Nov 18 20:11:07 2006
New Revision: 3411

Modified:
   freeswitch/trunk/src/switch_ivr.c

Log:
parentheses for proper cast.

Modified: freeswitch/trunk/src/switch_ivr.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr.c	(original)
+++ freeswitch/trunk/src/switch_ivr.c	Sat Nov 18 20:11:07 2006
@@ -2617,7 +2617,7 @@
 							}
 						}
 						write_frame.data = abuf;
-						write_frame.datalen = (uint32_t) ringback.asis ? olen : olen * 2;
+						write_frame.datalen = (uint32_t) (ringback.asis ? olen : olen * 2);
 						if (switch_core_session_write_frame(session, &write_frame, 1000, 0) != SWITCH_STATUS_SUCCESS) {
 							break;
 						}



More information about the Freeswitch-svn mailing list