summaryrefslogtreecommitdiffstats
path: root/generic/tclObj.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-02-15 14:04:15 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-02-15 14:04:15 (GMT)
commit3b5e7e9792b9b34111146557a3353756711b8133 (patch)
tree2127e967c8d192671aa5d194c38b4d745ab78bda /generic/tclObj.c
parent3d6a406232dc52b9f475ef7ef3cfa77f8fa01b35 (diff)
downloadtcl-3b5e7e9792b9b34111146557a3353756711b8133.zip
tcl-3b5e7e9792b9b34111146557a3353756711b8133.tar.gz
tcl-3b5e7e9792b9b34111146557a3353756711b8133.tar.bz2
More internal use of size_t in stead of int, e.g. for epoch's
Diffstat (limited to 'generic/tclObj.c')
-rw-r--r--generic/tclObj.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclObj.c b/generic/tclObj.c
index 1abbb31..7ec259f 100644
--- a/generic/tclObj.c
+++ b/generic/tclObj.c
@@ -344,17 +344,17 @@ typedef struct ResolvedCmdName {
* reference (not the namespace that contains
* the referenced command). NULL if the name
* is fully qualified.*/
- long refNsId; /* refNsPtr's unique namespace id. Used to
+ size_t refNsId; /* refNsPtr's unique namespace id. Used to
* verify that refNsPtr is still valid (e.g.,
* it's possible that the cmd's containing
* namespace was deleted and a new one created
* at the same address). */
- int refNsCmdEpoch; /* Value of the referencing namespace's
+ size_t refNsCmdEpoch; /* Value of the referencing namespace's
* cmdRefEpoch when the pointer was cached.
* Before using the cached pointer, we check
* if the namespace's epoch was incremented;
* if so, this cached pointer is invalid. */
- int cmdEpoch; /* Value of the command's cmdEpoch when this
+ size_t cmdEpoch; /* Value of the command's cmdEpoch when this
* pointer was cached. Before using the cached
* pointer, we check if the cmd's epoch was
* incremented; if so, the cmd was renamed,