提交 47760e2d authored 作者: William King's avatar William King

Silence a warning in clang-3.5 dealing with implicit conversion from 64bit to…

Silence a warning in clang-3.5 dealing with implicit conversion from 64bit to 32bit in a function call to switch_ivr_sleep()
上级 2e41a433
......@@ -3732,7 +3732,7 @@ SWITCH_DECLARE(switch_status_t) switch_channel_perform_answer(switch_channel_t *
const char *delay;
if ((delay = switch_channel_get_variable(channel, "answer_delay"))) {
long msec = atol(delay);
uint32_t msec = atoi(delay);
if (msec) {
switch_ivr_sleep(channel->session, msec, SWITCH_TRUE, NULL);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论