summaryrefslogtreecommitdiffstats
path: root/generic/tclOOBasic.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclOOBasic.c')
-rw-r--r--generic/tclOOBasic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclOOBasic.c b/generic/tclOOBasic.c
index 7e9dc29..3fee439 100644
--- a/generic/tclOOBasic.c
+++ b/generic/tclOOBasic.c
@@ -473,7 +473,7 @@ TclOO_Object_Unknown(
Tcl_AppendResult(interp, " or ", NULL);
}
Tcl_AppendResult(interp, methodNames[i], NULL);
- ckfree((char *) methodNames);
+ ckfree(methodNames);
Tcl_SetErrorCode(interp, "TCL", "LOOKUP", "METHOD",
TclGetString(objv[skip]), NULL);
return TCL_ERROR;