diff --git a/src/switch_log.c b/src/switch_log.c index 86bb45de1b..fcafd060db 100644 --- a/src/switch_log.c +++ b/src/switch_log.c @@ -341,7 +341,7 @@ SWITCH_DECLARE(void) switch_log_vprintf(switch_text_channel_t channel, const cha #endif if (level > 100) { - if (level - 100 > runtime.debug_level) { + if ((uint32_t)(level - 100) > runtime.debug_level) { return; }