aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-02-14 17:12:30 +0100
committerEugene Sandulenko2016-02-14 17:12:30 +0100
commitd9187245680911442c30d9dee3bf1eb40f44db7c (patch)
treea61115814356391140374da6ea6e8a60f264d75d
parent0c6b063f1ef472a11ddc3714f720ffc4be697739 (diff)
downloadscummvm-rg350-d9187245680911442c30d9dee3bf1eb40f44db7c.tar.gz
scummvm-rg350-d9187245680911442c30d9dee3bf1eb40f44db7c.tar.bz2
scummvm-rg350-d9187245680911442c30d9dee3bf1eb40f44db7c.zip
WAGE: Fix compilation on some platforms
-rw-r--r--engines/wage/menu.cpp2
1 files changed, 1 insertions, 1 deletions
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];