aboutsummaryrefslogtreecommitdiffstats
path: root/src/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.c')
-rw-r--r--src/log.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/log.c b/src/log.c
index eb1d5a94d..8a2d48410 100644
--- a/src/log.c
+++ b/src/log.c
@@ -169,7 +169,7 @@ void setup_log_output(const int use_stdout)
#define log_func(func,level,fp) \
mpd_printf void func(const char *fmt, ...) \
{ \
- if (logLevel >= level) { \
+ if ((int)logLevel >= level) { \
va_list args; \
va_start(args, fmt); \
do_log(fp, fmt, args); \