aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2009-05-11 21:05:48 +0000
committerWillem Jan Palenstijn2009-05-11 21:05:48 +0000
commit5f3938d615353b731e422f534ccd9f854711c230 (patch)
treed0fbf91d0b2269ebff519c0285a085cca384224c
parent565c23b601d6c59ad08cfcae189b9ae896f09912 (diff)
downloadscummvm-rg350-5f3938d615353b731e422f534ccd9f854711c230.tar.gz
scummvm-rg350-5f3938d615353b731e422f534ccd9f854711c230.tar.bz2
scummvm-rg350-5f3938d615353b731e422f534ccd9f854711c230.zip
Fix MSVC compilation (cast const away explicitly).
Patch by Kerbox. svn-id: r40469
-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) {