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");