summaryrefslogtreecommitdiffstats
path: root/generic/tclProc.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-16 11:38:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-03-16 11:38:20 (GMT)
commit1eefaec4712a22b1cea12961deb534381158010e (patch)
tree1b2a84bbf85a3f43fab3e260035438c6726cb567 /generic/tclProc.c
parent6f4eba042c419ebab52c7311f15ad77bfb31de0f (diff)
downloadtcl-1eefaec4712a22b1cea12961deb534381158010e.zip
tcl-1eefaec4712a22b1cea12961deb534381158010e.tar.gz
tcl-1eefaec4712a22b1cea12961deb534381158010e.tar.bz2
Minor cleanup (Thanks, Gustaf!)
Diffstat (limited to 'generic/tclProc.c')
-rw-r--r--generic/tclProc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclProc.c b/generic/tclProc.c
index c8a304a..a472a2d 100644
--- a/generic/tclProc.c
+++ b/generic/tclProc.c
@@ -1298,7 +1298,7 @@ InitLocalCache(
*namePtr = NULL;
} else {
*namePtr = TclCreateLiteral(iPtr, localPtr->name,
- localPtr->nameLength, /* hash */ (size_t) -1,
+ localPtr->nameLength, /* hash */ TCL_INDEX_NONE,
&isNew, /* nsPtr */ NULL, 0, NULL);
Tcl_IncrRefCount(*namePtr);
}