config_lookup_int expect an 'int', not a 'long'