fix windows compiler warnings
This commit is contained in:
parent
a9330e6b8c
commit
835594fe9e
|
@ -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);
|
||||
|
||||
/*!
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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