main.c: fixed CE on 32-bit systems

This commit is contained in:
vysheng 2013-12-02 19:11:05 +04:00
parent ef8de029a5
commit 2426f8f7ad

4
main.c
View File

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