From: Michael Jerris Date: Sun, 19 Nov 2006 01:11:07 +0000 (+0000) Subject: parentheses for proper cast. X-Git-Tag: v1.0-beta1~1711 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a57946bea453c85f078a6f5682cba4d36c429f2;p=thirdparty%2Ffreeswitch.git parentheses for proper cast. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3411 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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; }