diff --git a/src/include/switch_core.h b/src/include/switch_core.h index 58b2691531..6d7d37e3bd 100644 --- a/src/include/switch_core.h +++ b/src/include/switch_core.h @@ -1718,7 +1718,7 @@ SWITCH_DECLARE(void) switch_core_db_test_reactive(switch_core_db_t *db, char *te SWITCH_DECLARE(switch_status_t) switch_core_perform_file_open(const char *file, const char *func, int line, _In_ switch_file_handle_t *fh, _In_opt_z_ const char *file_path, - _In_ uint8_t channels, + _In_ uint32_t channels, _In_ uint32_t rate, _In_ unsigned int flags, _In_opt_ switch_memory_pool_t *pool); /*! diff --git a/src/switch_console.c b/src/switch_console.c index b2c003a6c6..eea6d5510b 100644 --- a/src/switch_console.c +++ b/src/switch_console.c @@ -33,7 +33,9 @@ #include #include #include +#ifndef _MSC_VER #include +#endif #define CMD_BUFLEN 1024 #ifdef SWITCH_HAVE_LIBEDIT diff --git a/src/switch_core_file.c b/src/switch_core_file.c index bee78e2643..4d6a0f7f19 100644 --- a/src/switch_core_file.c +++ b/src/switch_core_file.c @@ -39,7 +39,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_perform_file_open(const char *file, const char *func, int line, switch_file_handle_t *fh, const char *file_path, - uint8_t channels, uint32_t rate, unsigned int flags, switch_memory_pool_t *pool) + uint32_t channels, uint32_t rate, unsigned int flags, switch_memory_pool_t *pool) { char *ext; switch_status_t status = SWITCH_STATUS_FALSE; diff --git a/src/switch_scheduler.c b/src/switch_scheduler.c index b71821e298..8e0a7d0963 100644 --- a/src/switch_scheduler.c +++ b/src/switch_scheduler.c @@ -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; }