From: Michael Jerris Date: Thu, 22 Feb 2007 23:12:58 +0000 (+0000) Subject: windows build tweaks to resolve warnings. X-Git-Tag: v1.0-beta1~1028 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6461d8fafff97c2e5e2dfc838c1f81fd200ba4ab;p=thirdparty%2Ffreeswitch.git windows build tweaks to resolve warnings. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4352 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- 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: