From 2426f8f7ada89bce51903e20a07aa62190378b5c Mon Sep 17 00:00:00 2001 From: vysheng Date: Mon, 2 Dec 2013 19:11:05 +0400 Subject: [PATCH] main.c: fixed CE on 32-bit systems --- main.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 10fc3be..4fd18bf 100644 --- a/main.c +++ b/main.c @@ -263,7 +263,9 @@ void parse_config (void) { config_lookup_bool (&conf, buf, &test_dc); strcpy (buf + l, "log_level"); - config_lookup_int (&conf, buf, &log_level); + long long t = log_level; + config_lookup_int (&conf, buf, (void *)&t); + log_level = t; if (!msg_num_mode) { strcpy (buf + l, "msg_num");