提交 3c95a52f authored 作者: Michael Jerris's avatar Michael Jerris

we are intentionally using a value outside of the enum here as a special value. …

we are intentionally using a value outside of the enum here as a special value.  The compiler will always make this an int anyways, so this is safe.  cast to remove the warning
上级 658e7623
......@@ -611,7 +611,7 @@ void sofia_handle_sip_i_notify(switch_core_session_t *session, int status,
if (status_val == 200) {
switch_channel_hangup(channel, SWITCH_CAUSE_BLIND_TRANSFER);
}
if (tech_pvt->want_event == 9999) {
if ((int)tech_pvt->want_event == 9999) {
tech_pvt->want_event = 0;
}
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论