FS-5690 --resolve with bizarre workaround

This commit is contained in:
Jeff Lenk 2013-08-18 17:26:13 -05:00
parent b346bf56f5
commit 84e4b38be3
3 changed files with 6 additions and 1 deletions

View File

@ -48,6 +48,9 @@
#include <math.h>
#include <tiffio.h>
#if !defined(__cplusplus)
#include <spandsp/stdbool.h>
#endif
#include <spandsp/telephony.h>
#include <spandsp/fast_convert.h>
#include <spandsp/logging.h>

View File

@ -33,7 +33,9 @@
#include <switch.h>
#include <switch_console.h>
#include <switch_version.h>
#ifndef _MSC_VER
#include <switch_private.h>
#endif
#define CMD_BUFLEN 1024
#ifdef SWITCH_HAVE_LIBEDIT

View File

@ -201,7 +201,7 @@ SWITCH_DECLARE(uint32_t) switch_scheduler_add_task(time_t task_runtime,
switch_assert(func);
if (task_runtime < now) {
container->task.repeat = task_runtime;
container->task.repeat = (uint32_t)task_runtime;
task_runtime += now;
}