summaryrefslogtreecommitdiffstats
path: root/generic/tclLiteral.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/tclLiteral.c
parent6f4eba042c419ebab52c7311f15ad77bfb31de0f (diff)
downloadtcl-1eefaec4712a22b1cea12961deb534381158010e.zip
tcl-1eefaec4712a22b1cea12961deb534381158010e.tar.gz
tcl-1eefaec4712a22b1cea12961deb534381158010e.tar.bz2
Minor cleanup (Thanks, Gustaf!)
Diffstat (limited to 'generic/tclLiteral.c')
-rw-r--r--generic/tclLiteral.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclLiteral.c b/generic/tclLiteral.c
index 24e99fc..c3f0f7d 100644
--- a/generic/tclLiteral.c
+++ b/generic/tclLiteral.c
@@ -179,8 +179,8 @@ TclCreateLiteral(
const char *bytes, /* The start of the string. Note that this is
* not a NUL-terminated string. */
size_t length, /* Number of bytes in the string. */
- size_t hash, /* The string's hash. If -1, it will be
- * computed here. */
+ size_t hash, /* The string's hash. If the value is
+ * TCL_INDEX_NONE, it will be computed here. */
int *newPtr,
Namespace *nsPtr,
int flags,