summaryrefslogtreecommitdiffstats
path: root/generic/tclStrToD.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-24 20:54:34 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-01-24 20:54:34 (GMT)
commit6bdd87140b59bb9442e2e281da2c1c65bfaccd37 (patch)
treefa51bc676868b1afd638f3d236204ef929913451 /generic/tclStrToD.c
parent875e3b392ba9b930fa009077b451b08f15b4ea72 (diff)
parentaf3e9b9825f98a98907966cdd71286c1f00c8bcf (diff)
downloadtcl-6bdd87140b59bb9442e2e281da2c1c65bfaccd37.zip
tcl-6bdd87140b59bb9442e2e281da2c1c65bfaccd37.tar.gz
tcl-6bdd87140b59bb9442e2e281da2c1c65bfaccd37.tar.bz2
More work in progress
Diffstat (limited to 'generic/tclStrToD.c')
-rw-r--r--generic/tclStrToD.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index 5ce4c78..f820ae4 100644
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -557,9 +557,9 @@ TclParseNumber(
return TCL_ERROR;
}
if (TclHasInternalRep(objPtr, &tclListType)) {
- int length;
+ size_t length;
/* A list can only be a (single) number if its length == 1 */
- TclListObjLength_(NULL, objPtr, &length);
+ Tcl_ListObjLength(NULL, objPtr, &length);
if (length != 1) {
return TCL_ERROR;
}