From: Jeff Lenk Date: Tue, 24 Aug 2010 13:11:59 +0000 (-0500) Subject: FSCORE-658 Windows VS2008 switch_event.c compile error X-Git-Tag: v1.2-rc1~476 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5aef4cd9a6f55a776d07e4e3424a4e68654ec1e;p=thirdparty%2Ffreeswitch.git FSCORE-658 Windows VS2008 switch_event.c compile error --- diff --git a/src/switch_event.c b/src/switch_event.c index 2cc6bbb1c8..1301d92477 100644 --- a/src/switch_event.c +++ b/src/switch_event.c @@ -320,7 +320,7 @@ static void *SWITCH_THREAD_FUNC switch_event_thread(switch_thread_t *thread, voi max = SOFT_MAX_DISPATCH; switch_mutex_unlock(EVENT_QUEUE_MUTEX); - for (index = 0; index < max; index++) { + for (index = 0; (int)index < max; index++) { if (switch_queue_trypush(EVENT_DISPATCH_QUEUE[index], event) == SWITCH_STATUS_SUCCESS) { event = NULL; break;