From d9187245680911442c30d9dee3bf1eb40f44db7c Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sun, 14 Feb 2016 17:12:30 +0100 Subject: WAGE: Fix compilation on some platforms --- engines/wage/menu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/wage/menu.cpp b/engines/wage/menu.cpp index a8fa2b27da..559ace1c7c 100644 --- a/engines/wage/menu.cpp +++ b/engines/wage/menu.cpp @@ -207,7 +207,7 @@ MenuItem *Menu::createCommandsMenu() { bool enabled = true; int style = 0; char shortcut = 0; - char *shortptr = strrchr(item.c_str(), '/'); + const char *shortptr = strrchr(item.c_str(), '/'); if (shortptr != NULL) { if (strlen(shortptr) == 2) { shortcut = shortptr[1]; -- cgit v1.2.3