From 540a2e78e5f4b00c705ec1c6e89fede4e7b0a373 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 14 Feb 2016 17:08:09 +0100 Subject: WAGE: Fix compilation on some platforms --- engines/wage/world.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/wage') 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()); -- cgit v1.2.3