From 5f3938d615353b731e422f534ccd9f854711c230 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Mon, 11 May 2009 21:05:48 +0000 Subject: Fix MSVC compilation (cast const away explicitly). Patch by Kerbox. svn-id: r40469 --- engines/sci/engine/scriptconsole.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci/engine') 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 &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) { -- cgit v1.2.3