From b6b8c1ac8f21b3562a5980453b0250ea68909648 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Mon, 9 Sep 2024 18:37:53 +0000 Subject: [PATCH] size_t -> Tcl_Size, for maximum compatibility with Tcl 8.6 --- generic/tclIO.h | 2 +- generic/tclRegexp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/generic/tclIO.h b/generic/tclIO.h index bb56d5759ea8..69322e3985fd 100644 --- a/generic/tclIO.h +++ b/generic/tclIO.h @@ -219,7 +219,7 @@ typedef struct ChannelState { * because it happened in the background. The * value is the chanMg, if any. #219's * companion to 'unreportedError'. */ - size_t epoch; /* Used to test validity of stored channelname + Tcl_Size epoch; /* Used to test validity of stored channelname * lookup results. */ int maxPerms; /* TIP #220: Max access privileges * the channel was created with. */ diff --git a/generic/tclRegexp.h b/generic/tclRegexp.h index a263dfddb88c..7929c533bfb9 100644 --- a/generic/tclRegexp.h +++ b/generic/tclRegexp.h @@ -37,7 +37,7 @@ typedef struct TclRegexp { * of subexpressions. */ rm_detail_t details; /* Detailed information on match (currently * used only for REG_EXPECT). */ - size_t refCount; /* Count of number of references to this + Tcl_Size refCount; /* Count of number of references to this * compiled regexp. */ } TclRegexp;