FSCORE-658 Windows VS2008 switch_event.c compile error

This commit is contained in:
Jeff Lenk 2010-08-24 08:11:59 -05:00
parent a873b3841a
commit e5aef4cd9a
1 changed files with 1 additions and 1 deletions

View File

@ -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;