From 6461d8fafff97c2e5e2dfc838c1f81fd200ba4ab Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Thu, 22 Feb 2007 23:12:58 +0000 Subject: [PATCH] windows build tweaks to resolve warnings. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4352 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/switch_core.c b/src/switch_core.c index 1020c4173e..dfc185915f 100644 --- a/src/switch_core.c +++ b/src/switch_core.c @@ -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: