summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmdsGR.c
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-04-23 08:13:11 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-04-23 08:13:11 (GMT)
commit2b41b2d12bf50d873436d0ce09e1e7b8345d5540 (patch)
tree6fb5f61f31dda4cc65bf9b4b66a9c598995749fe /generic/tclCompCmdsGR.c
parent9cd23041f3a73559c43adb6120b1ccdf4bd15604 (diff)
parent6f566fc406752600f7ae67df0c7356d987b753fe (diff)
downloadtcl-2b41b2d12bf50d873436d0ce09e1e7b8345d5540.zip
tcl-2b41b2d12bf50d873436d0ce09e1e7b8345d5540.tar.gz
tcl-2b41b2d12bf50d873436d0ce09e1e7b8345d5540.tar.bz2
Fix gcc type mismatch warnings exposed by disabling casts using disabletcl8api
Diffstat (limited to 'generic/tclCompCmdsGR.c')
-rw-r--r--generic/tclCompCmdsGR.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompCmdsGR.c b/generic/tclCompCmdsGR.c
index 5b79187..f35cd50 100644
--- a/generic/tclCompCmdsGR.c
+++ b/generic/tclCompCmdsGR.c
@@ -2113,7 +2113,7 @@ TclCompileRegsubCmd(
Tcl_DString pattern;
const char *bytes;
int exact, quantified, result = TCL_ERROR;
- size_t len;
+ Tcl_Size len;
if ((int)parsePtr->numWords < 5 || (int)parsePtr->numWords > 6) {
return TCL_ERROR;
@@ -2705,7 +2705,7 @@ IndexTailVarIfKnown(
Tcl_Obj *tailPtr;
const char *tailName, *p;
int n = varTokenPtr->numComponents;
- size_t len;
+ Tcl_Size len;
Tcl_Token *lastTokenPtr;
int full, localIndex;