summaryrefslogtreecommitdiffstats
path: root/generic/tclOOBasic.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-13 20:44:29 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-03-13 20:44:29 (GMT)
commit60670274b079f0aa0735bb70fb12c642d1b585ab (patch)
treed143a2884551f41e7277b1c38347651cb22a7a3b /generic/tclOOBasic.c
parent7e4d77967482128bb89b7cfa2a77cd57e58b2abd (diff)
downloadtcl-60670274b079f0aa0735bb70fb12c642d1b585ab.zip
tcl-60670274b079f0aa0735bb70fb12c642d1b585ab.tar.gz
tcl-60670274b079f0aa0735bb70fb12c642d1b585ab.tar.bz2
Eliminate many (mostly harmless) MSVC warning messages. Tcl 9 compiles warning-free now on MSVC.
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 72b755b..c1002ce 100644
--- a/generic/tclOOBasic.c
+++ b/generic/tclOOBasic.c
@@ -605,7 +605,7 @@ TclOO_Object_Unknown(
Tcl_AppendToObj(errorMsg, " or ", -1);
}
Tcl_AppendToObj(errorMsg, methodNames[i], -1);
- Tcl_Free(methodNames);
+ Tcl_Free((void *)methodNames);
Tcl_SetObjResult(interp, errorMsg);
Tcl_SetErrorCode(interp, "TCL", "LOOKUP", "METHOD",
TclGetString(objv[skip]), NULL);