diff --git a/src/include/private/switch_core_pvt.h b/src/include/private/switch_core_pvt.h index 12c315847e..e71f3dd622 100644 --- a/src/include/private/switch_core_pvt.h +++ b/src/include/private/switch_core_pvt.h @@ -156,7 +156,7 @@ struct switch_runtime { switch_mutex_t *throttle_mutex; uint32_t sps_total; int32_t sps; - uint32_t hard_log_level; + switch_log_level_t hard_log_level; }; extern struct switch_runtime runtime; diff --git a/src/switch_console.c b/src/switch_console.c index f69d42cf87..28057b1cae 100644 --- a/src/switch_console.c +++ b/src/switch_console.c @@ -300,7 +300,7 @@ SWITCH_DECLARE(void) switch_console_loop(void) gethostname(hostname, sizeof(hostname)); while (running) { - uint32_t arg; + int32_t arg; #ifndef _MSC_VER fd_set rfds, efds; struct timeval tv = { 0, 20000 }; diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index ac571f80ca..35b70c5e84 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -303,7 +303,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_record_session(switch_core_session_t switch_status_t status; time_t to = 0; switch_media_bug_flag_t flags = SMBF_READ_STREAM | SMBF_WRITE_STREAM; - int channels; + uint8_t channels; channel = switch_core_session_get_channel(session); assert(channel != NULL);