From 3a57946bea453c85f078a6f5682cba4d36c429f2 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sun, 19 Nov 2006 01:11:07 +0000 Subject: [PATCH] parentheses for proper cast. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3411 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/switch_ivr.c b/src/switch_ivr.c index 2e029f3ae2..58eb40ec63 100644 --- a/src/switch_ivr.c +++ b/src/switch_ivr.c @@ -2617,7 +2617,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess } } 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; }