diff --git a/src/engine/config.cpp b/src/engine/config.cpp index 9d938682b..bedeb4d4a 100644 --- a/src/engine/config.cpp +++ b/src/engine/config.cpp @@ -26,7 +26,7 @@ void config_reset() void config_set(const char *line) { char var_str[256]; - char *val_str = (char *)strchr(line, '='); + const char *val_str = strchr(line, '='); if (val_str) { memcpy(var_str, line, val_str - line);