提交 25f99744 authored 作者: Michael Jerris's avatar Michael Jerris

Win32 type fixes and setup update.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@885 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 75399f34
...@@ -555,7 +555,7 @@ static switch_status exosip_read_frame(switch_core_session *session, switch_fram ...@@ -555,7 +555,7 @@ static switch_status exosip_read_frame(switch_core_session *session, switch_fram
if (timeout > -1) { if (timeout > -1) {
elapsed = (unsigned int)((switch_time_now() - started) / 1000); elapsed = (unsigned int)((switch_time_now() - started) / 1000);
if (elapsed >= timeout) { if (elapsed >= (unsigned int)timeout) {
return SWITCH_STATUS_SUCCESS; return SWITCH_STATUS_SUCCESS;
} }
} }
......
...@@ -620,7 +620,7 @@ static switch_status channel_read_frame(switch_core_session *session, switch_fra ...@@ -620,7 +620,7 @@ static switch_status channel_read_frame(switch_core_session *session, switch_fra
if (timeout > -1) { if (timeout > -1) {
elapsed = (unsigned int)((switch_time_now() - started) / 1000); elapsed = (unsigned int)((switch_time_now() - started) / 1000);
if (elapsed >= timeout) { if (elapsed >= (unsigned int)timeout) {
return SWITCH_STATUS_SUCCESS; return SWITCH_STATUS_SUCCESS;
} }
} }
......
差异被折叠。
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论