summaryrefslogtreecommitdiff
path: root/include/asterisk/logger.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asterisk/logger.h')
-rw-r--r--include/asterisk/logger.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asterisk/logger.h b/include/asterisk/logger.h
index 1fe9b6c04..22151157c 100644
--- a/include/asterisk/logger.h
+++ b/include/asterisk/logger.h
@@ -403,7 +403,7 @@ void ast_callid_strnprint(char *buffer, size_t buffer_size, struct ast_callid *c
#define DEBUG_ATLEAST(level) \
(option_debug >= (level) \
- || (ast_opt_dbg_module && ast_debug_get_by_module(AST_MODULE) >= (level)))
+ || (ast_opt_dbg_module && (int)ast_debug_get_by_module(AST_MODULE) >= (level)))
/*!
* \brief Log a DEBUG message