FS-5690 --resolve with bizarre workaround
This commit is contained in:
parent
b346bf56f5
commit
84e4b38be3
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue