parentheses for proper cast.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3411 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
dcc6c5ef82
commit
3a57946bea
|
@ -2617,7 +2617,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
write_frame.data = abuf;
|
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) {
|
if (switch_core_session_write_frame(session, &write_frame, 1000, 0) != SWITCH_STATUS_SUCCESS) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue