summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
diff options
context:
space:
mode:
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 1572576..6d07189 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -1133,7 +1133,7 @@ PeepholeOptimize(
hPtr = Tcl_FirstHashEntry(
&JUMPTABLEINFO(envPtr, pc+1)->hashTable, &hSearch);
for (; hPtr ; hPtr = Tcl_NextHashEntry(&hSearch)) {
- target = pc + (int) Tcl_GetHashValue(hPtr);
+ target = pc + PTR2INT(Tcl_GetHashValue(hPtr));
(void) Tcl_CreateHashEntry(&targets, (void *) target, &isNew);
}
break;