aboutsummaryrefslogtreecommitdiff
path: root/engines/wage/world.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/wage/world.cpp')
-rw-r--r--engines/wage/world.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/wage/world.cpp b/engines/wage/world.cpp
index 640feed0f0..79e428a1a8 100644
--- a/engines/wage/world.cpp
+++ b/engines/wage/world.cpp
@@ -496,7 +496,7 @@ const char *World::getAboutMenuItemName() {
sprintf(menu, "About %s...", _name.c_str());
} else { // Replace '@' with name
const char *str = _aboutMenuItemName.c_str();
- char *pos = strchr(str, '@');
+ const char *pos = strchr(str, '@');
if (pos) {
strncat(menu, str, (pos - str));
strcat(menu, _name.c_str());