diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-03-13 20:44:29 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2019-03-13 20:44:29 (GMT) |
commit | 60670274b079f0aa0735bb70fb12c642d1b585ab (patch) | |
tree | d143a2884551f41e7277b1c38347651cb22a7a3b /generic/tclOOBasic.c | |
parent | 7e4d77967482128bb89b7cfa2a77cd57e58b2abd (diff) | |
download | tcl-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.c | 2 |
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); |