From a3d531a9fd87bd385391c4f3dbcf0922e8199047 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Mon, 23 Aug 2004 05:53:41 +0000 Subject: remove cast that produces a warning svn-id: r14696 --- common/debugger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/debugger.cpp b/common/debugger.cpp index 3cc3295233..47fb6e2a3d 100644 --- a/common/debugger.cpp +++ b/common/debugger.cpp @@ -227,7 +227,7 @@ bool Debugger::RunCommand(const char *inputOrig) { break; // Integer array case DVAR_INTARRAY: { - char *chr = strchr((char *)param[0], '['); + char *chr = strchr(param[0], '['); if (!chr) { DebugPrintf("You must access this array as %s[element]\n", param[0]); } else { -- cgit v1.2.3