summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-24 07:11:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-06-24 07:11:17 (GMT)
commit5bad06a9a453a043661695e582ef7c9f7f3647fc (patch)
treefcdc1b00cf97815ec7f0d97b042b0551b3f07e3c /generic/tclInt.h
parentf527a3f4568093147bf17db414cc0340bbac5045 (diff)
downloadtcl-5bad06a9a453a043661695e582ef7c9f7f3647fc.zip
tcl-5bad06a9a453a043661695e582ef7c9f7f3647fc.tar.gz
tcl-5bad06a9a453a043661695e582ef7c9f7f3647fc.tar.bz2
Don't use (unsigned)-1 -> TCL_INDEX_NONE
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r--generic/tclInt.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h
index 7425123..f5628f7 100644
--- a/generic/tclInt.h
+++ b/generic/tclInt.h
@@ -1529,11 +1529,11 @@ typedef struct LiteralEntry {
* NULL if end of chain. */
Tcl_Obj *objPtr; /* Points to Tcl object that holds the
* literal's bytes and length. */
- TCL_HASH_TYPE refCount; /* If in an interpreter's global literal
+ int refCount; /* If in an interpreter's global literal
* table, the number of ByteCode structures
* that share the literal object; the literal
* entry can be freed when refCount drops to
- * 0. If in a local literal table, (unsigned)-1. */
+ * 0. If in a local literal table, TCL_INDEX_NONE. */
Namespace *nsPtr; /* Namespace in which this literal is used. We
* try to avoid sharing literal non-FQ command
* names among different namespaces to reduce