aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2004-08-23 00:00:02 +0000
committerEugene Sandulenko2004-08-23 00:00:02 +0000
commit796fdcdd2bc424be9c851ab74ab7d8a6ac5311f3 (patch)
tree13bb276d1b32da9f690375fe358f9f1204d9bcc8
parent9b6e23000df96ba18da4618188fc7aec0b56940b (diff)
downloadscummvm-rg350-796fdcdd2bc424be9c851ab74ab7d8a6ac5311f3.tar.gz
scummvm-rg350-796fdcdd2bc424be9c851ab74ab7d8a6ac5311f3.tar.bz2
scummvm-rg350-796fdcdd2bc424be9c851ab74ab7d8a6ac5311f3.zip
Fix warning.
svn-id: r14692
-rw-r--r--common/debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/debugger.cpp b/common/debugger.cpp
index 47fb6e2a3d..3cc3295233 100644
--- a/common/debugger.cpp
+++ b/common/debugger.cpp
@@ -227,7 +227,7 @@ bool Debugger<T>::RunCommand(const char *inputOrig) {
break;
// Integer array
case DVAR_INTARRAY: {
- char *chr = strchr(param[0], '[');
+ char *chr = strchr((char *)param[0], '[');
if (!chr) {
DebugPrintf("You must access this array as %s[element]\n", param[0]);
} else {