diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-08-23 07:27:08 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-08-23 07:27:08 (GMT) |
commit | ce60b9f9bf7ea98961297c9757251a4abcdaa4de (patch) | |
tree | 073b992650198dfe753da3e0276ff1e426790842 | |
parent | f03894f7066eaf03c597e38b1242c13628d6f942 (diff) | |
download | tcl-ce60b9f9bf7ea98961297c9757251a4abcdaa4de.zip tcl-ce60b9f9bf7ea98961297c9757251a4abcdaa4de.tar.gz tcl-ce60b9f9bf7ea98961297c9757251a4abcdaa4de.tar.bz2 |
Patch (8) from [37108037b9]: Code cleanups to support CHERI
-rw-r--r-- | generic/tclCompCmdsSZ.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompCmdsSZ.c b/generic/tclCompCmdsSZ.c index 4c325c2..bfa1957 100644 --- a/generic/tclCompCmdsSZ.c +++ b/generic/tclCompCmdsSZ.c @@ -2383,7 +2383,7 @@ IssueSwitchJumpTable( * point to here. */ - Tcl_SetHashValue(hPtr, CurrentOffset(envPtr) - jumpLocation); + Tcl_SetHashValue(hPtr, INT2PTR(CurrentOffset(envPtr) - jumpLocation)); } Tcl_DStringFree(&buffer); } else { |