aboutsummaryrefslogtreecommitdiff
path: root/gui/debugger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/debugger.cpp')
-rw-r--r--gui/debugger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/debugger.cpp b/gui/debugger.cpp
index 78ada04cd6..858164259d 100644
--- a/gui/debugger.cpp
+++ b/gui/debugger.cpp
@@ -243,7 +243,7 @@ bool Debugger::parseCommand(const char *inputOrig) {
break;
// Integer Array
case DVAR_INTARRAY: {
- char *chr = (char *)strchr(param[0], '[');
+ const char *chr = strchr(param[0], '[');
if (!chr) {
DebugPrintf("You must access this array as %s[element]\n", param[0]);
} else {