summaryrefslogtreecommitdiffstats
path: root/generic/tclLink.c
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2023-04-21 06:16:53 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2023-04-21 06:16:53 (GMT)
commitc7f27e3c8788c57a0e58d4b31140a4c4652a422f (patch)
treeb75c4e99c0169e29c90064020a7e6b69e081544c /generic/tclLink.c
parente86259d193d2c7ad6628755161cc75a706e194cb (diff)
downloadtcl-c7f27e3c8788c57a0e58d4b31140a4c4652a422f.zip
tcl-c7f27e3c8788c57a0e58d4b31140a4c4652a422f.tar.gz
tcl-c7f27e3c8788c57a0e58d4b31140a4c4652a422f.tar.bz2
Fix warnings generated on disable8api builds
Diffstat (limited to 'generic/tclLink.c')
-rw-r--r--generic/tclLink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclLink.c b/generic/tclLink.c
index 1cd5f15..7474769 100644
--- a/generic/tclLink.c
+++ b/generic/tclLink.c
@@ -592,7 +592,7 @@ SetInvalidRealFromAny(
{
const char *str;
const char *endPtr;
- size_t length;
+ Tcl_Size length;
str = Tcl_GetStringFromObj(objPtr, &length);
if ((length == 1) && (str[0] == '.')) {
@@ -638,7 +638,7 @@ GetInvalidIntFromObj(
Tcl_Obj *objPtr,
int *intPtr)
{
- size_t length;
+ Tcl_Size length;
const char *str = Tcl_GetStringFromObj(objPtr, &length);
if ((length == 0) || ((length == 2) && (str[0] == '0')