提交 6461d8fa authored 作者: Michael Jerris's avatar Michael Jerris

windows build tweaks to resolve warnings.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4352 d0543943-73ff-0310-b7d9-9358b9ac24b2
上级 5791353c
......@@ -4180,9 +4180,9 @@ SWITCH_DECLARE(void) switch_core_runtime_loop(int bg)
SWITCH_DECLARE(switch_status_t) switch_core_init(char *console, const char **err)
{
switch_xml_t xml = NULL, cfg = NULL;
switch_uuid_t uuid;
memset(&runtime, 0, sizeof(runtime));
runtime.session_limit = 1000;
switch_uuid_t uuid;
switch_core_set_globals();
......@@ -4532,7 +4532,7 @@ SWITCH_DECLARE(uint8_t) switch_core_session_compare(switch_core_session_t *a, sw
assert(a != NULL);
assert(b != NULL);
return (a->endpoint_interface == b->endpoint_interface);
return (uint8_t)(a->endpoint_interface == b->endpoint_interface);
}
/* For Emacs:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论