Commit 2426f8f7 authored by vysheng's avatar vysheng

main.c: fixed CE on 32-bit systems

parent ef8de029
...@@ -263,7 +263,9 @@ void parse_config (void) { ...@@ -263,7 +263,9 @@ void parse_config (void) {
config_lookup_bool (&conf, buf, &test_dc); config_lookup_bool (&conf, buf, &test_dc);
strcpy (buf + l, "log_level"); 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) { if (!msg_num_mode) {
strcpy (buf + l, "msg_num"); strcpy (buf + l, "msg_num");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment