aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-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..900fb03b87 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 = (char *)strchr(param[0], '[');
if (!chr) {
DebugPrintf("You must access this array as %s[element]\n", param[0]);
} else {