Author: mikej Date: Fri May 11 12:16:00 2007 New Revision: 5148 Modified: freeswitch/trunk/src/switch_scheduler.c Log: fix msvc build. Modified: freeswitch/trunk/src/switch_scheduler.c ============================================================================== --- freeswitch/trunk/src/switch_scheduler.c (original) +++ freeswitch/trunk/src/switch_scheduler.c Fri May 11 12:16:00 2007 @@ -77,7 +77,7 @@ } else { int64_t now = time(NULL); if (now >= tp->task.runtime && !tp->in_thread) { - int32_t diff = now - tp->task.runtime; + int32_t diff = (int32_t)(now - tp->task.runtime); if (diff > 1) { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Task was executed late by %d seconds %u %s (%s)\n", diff, tp->task.task_id, tp->desc, switch_str_nil(tp->task.group));