提交 84e4b38b authored 作者: Jeff Lenk's avatar Jeff Lenk

FS-5690 --resolve with bizarre workaround

上级 b346bf56
...@@ -48,6 +48,9 @@ ...@@ -48,6 +48,9 @@
#include <math.h> #include <math.h>
#include <tiffio.h> #include <tiffio.h>
#if !defined(__cplusplus)
#include <spandsp/stdbool.h>
#endif
#include <spandsp/telephony.h> #include <spandsp/telephony.h>
#include <spandsp/fast_convert.h> #include <spandsp/fast_convert.h>
#include <spandsp/logging.h> #include <spandsp/logging.h>
......
...@@ -33,7 +33,9 @@ ...@@ -33,7 +33,9 @@
#include <switch.h> #include <switch.h>
#include <switch_console.h> #include <switch_console.h>
#include <switch_version.h> #include <switch_version.h>
#ifndef _MSC_VER
#include <switch_private.h> #include <switch_private.h>
#endif
#define CMD_BUFLEN 1024 #define CMD_BUFLEN 1024
#ifdef SWITCH_HAVE_LIBEDIT #ifdef SWITCH_HAVE_LIBEDIT
......
...@@ -201,7 +201,7 @@ SWITCH_DECLARE(uint32_t) switch_scheduler_add_task(time_t task_runtime, ...@@ -201,7 +201,7 @@ SWITCH_DECLARE(uint32_t) switch_scheduler_add_task(time_t task_runtime,
switch_assert(func); switch_assert(func);
if (task_runtime < now) { if (task_runtime < now) {
container->task.repeat = task_runtime; container->task.repeat = (uint32_t)task_runtime;
task_runtime += now; task_runtime += now;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论