summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-07 09:24:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-01-07 09:24:19 (GMT)
commitd92cffaa0cf757cfcd982b7b82199eb6149f2ad4 (patch)
tree0279cc9b80ed6e1e08685f9d31e99ef4605d35b3 /generic/tclCompile.c
parent0bf39185fba6f3e398fb5ace84b415b6f83ef826 (diff)
downloadtcl-d92cffaa0cf757cfcd982b7b82199eb6149f2ad4.zip
tcl-d92cffaa0cf757cfcd982b7b82199eb6149f2ad4.tar.gz
tcl-d92cffaa0cf757cfcd982b7b82199eb6149f2ad4.tar.bz2
Remove type-casts in many Tcl_LinkVar() calls, which is no longer necessary since 8.7.
Small missing piece in Tcl_LinkArray() implementation, handling (unsigned) longs on 64-bit platforms.
Diffstat (limited to 'generic/tclCompile.c')
-rw-r--r--generic/tclCompile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index 9c887e4..7afbc33 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -797,7 +797,7 @@ TclSetByteCodeFromAny(
#ifdef TCL_COMPILE_DEBUG
if (!traceInitialized) {
if (Tcl_LinkVar(interp, "tcl_traceCompile",
- (char *) &tclTraceCompile, TCL_LINK_INT) != TCL_OK) {
+ &tclTraceCompile, TCL_LINK_INT) != TCL_OK) {
Tcl_Panic("SetByteCodeFromAny: unable to create link for tcl_traceCompile variable");
}
traceInitialized = 1;