From 060a0c3820bcb109029b0da8ff33e065286849bb Mon Sep 17 00:00:00 2001 From: Jakob Fries Date: Sun, 10 Jun 2007 17:42:53 +0000 Subject: [PATCH] --- src/engine/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);