diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-12-15 21:27:14 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-12-15 21:27:14 (GMT) |
commit | aecff8b1e70292e4c7e77d9200b086f7af4cfa33 (patch) | |
tree | 1846c2c9fdb64ee2d2495c9ebbb45728710dbcc2 /generic/tclCompile.h | |
parent | 67f6f5cdb190d17b5178a5d5c8d090440bbc1005 (diff) | |
download | tcl-aecff8b1e70292e4c7e77d9200b086f7af4cfa33.zip tcl-aecff8b1e70292e4c7e77d9200b086f7af4cfa33.tar.gz tcl-aecff8b1e70292e4c7e77d9200b086f7af4cfa33.tar.bz2 |
Revert a few more (int -> size_t) transitions, which could effect extensions (such as Itcl 3.4) which use internal Tcl header files. Better wait until 9.0 for this.
What we _can_ do is change some (internal) fields to 'unsigned': that doubles the epoch range without further danger. Thanks, Don, for pointing this out!
Diffstat (limited to 'generic/tclCompile.h')
-rw-r--r-- | generic/tclCompile.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclCompile.h b/generic/tclCompile.h index bd7aaab..7f01436 100644 --- a/generic/tclCompile.h +++ b/generic/tclCompile.h @@ -425,7 +425,7 @@ typedef struct ByteCode { * compiled. If the code is executed if a * different namespace, it must be * recompiled. */ - size_t nsEpoch; /* Value of nsPtr->resolverEpoch when this + unsigned int nsEpoch; /* Value of nsPtr->resolverEpoch when this * ByteCode was compiled. Used to invalidate * code when new namespace resolution rules * are put into effect. */ |