aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/engine/scriptconsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/scriptconsole.cpp b/engines/sci/engine/scriptconsole.cpp
index 5b37671eb9..c127d2454b 100644
--- a/engines/sci/engine/scriptconsole.cpp
+++ b/engines/sci/engine/scriptconsole.cpp
@@ -924,7 +924,7 @@ static int c_hexgrep(EngineState *s, const Common::Array<cmd_param_t> &cmdParams
int i, seeklen, resnr, resmax;
unsigned char *seekstr = NULL;
Resource *script = NULL;
- char *dot = strchr(cmdParams[0].str, '.');
+ char *dot = (char *)strchr(cmdParams[0].str, '.');
ResourceType restype;
if (NULL == s) {