summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generic/tclCompile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompile.c b/generic/tclCompile.c
index 7f6b7d4..0844a78 100644
--- a/generic/tclCompile.c
+++ b/generic/tclCompile.c
@@ -1134,7 +1134,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;