summaryrefslogtreecommitdiffstats
path: root/generic/tclEnsemble.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-12-15 21:27:14 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-12-15 21:27:14 (GMT)
commiteb3f2dc992e16bf0f1caf322be3a1ef43fc7e8a3 (patch)
tree1846c2c9fdb64ee2d2495c9ebbb45728710dbcc2 /generic/tclEnsemble.c
parentf93a191f9bd9b2626751e8c2b374b194bae325fd (diff)
downloadtcl-eb3f2dc992e16bf0f1caf322be3a1ef43fc7e8a3.zip
tcl-eb3f2dc992e16bf0f1caf322be3a1ef43fc7e8a3.tar.gz
tcl-eb3f2dc992e16bf0f1caf322be3a1ef43fc7e8a3.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/tclEnsemble.c')
-rw-r--r--generic/tclEnsemble.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclEnsemble.c b/generic/tclEnsemble.c
index 580ea5c..e7bfbac 100644
--- a/generic/tclEnsemble.c
+++ b/generic/tclEnsemble.c
@@ -92,7 +92,7 @@ static const Tcl_ObjType ensembleCmdType = {
*/
typedef struct {
- size_t epoch; /* Used to confirm when the data in this
+ unsigned int epoch; /* Used to confirm when the data in this
* really structure matches up with the
* ensemble. */
Command *token; /* Reference to the command for which this