Fix MSVC compilation (cast const away explicitly).

Patch by Kerbox.

svn-id: r40469
This commit is contained in:
Willem Jan Palenstijn 2009-05-11 21:05:48 +00:00
parent 565c23b601
commit 5f3938d615

View File

@ -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) {