aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 {