summaryrefslogtreecommitdiffstats
path: root/generic/tclStrToD.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-17 13:27:43 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-05-17 13:27:43 (GMT)
commita857932d237705bc5fe2b7a0a7474726c32771ed (patch)
tree4b55ed60159af685aa9e796340515493ef0f134d /generic/tclStrToD.c
parente39e94eb8dae7ab8ba2ae8fca7c376ab4fce2d56 (diff)
parent292c03d1c289ed9aae8eac6aba53c1857e4bf90d (diff)
downloadtcl-a857932d237705bc5fe2b7a0a7474726c32771ed.zip
tcl-a857932d237705bc5fe2b7a0a7474726c32771ed.tar.gz
tcl-a857932d237705bc5fe2b7a0a7474726c32771ed.tar.bz2
Merge 9.0
Diffstat (limited to 'generic/tclStrToD.c')
-rw-r--r--generic/tclStrToD.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index d6e6d0f..2cf3ea7 100644
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -558,7 +558,7 @@ TclParseNumber(
if (TclHasInternalRep(objPtr, &tclListType)) {
size_t length;
/* A list can only be a (single) number if its length == 1 */
- TclListObjLength(NULL, objPtr, &length);
+ TclListObjLengthM(NULL, objPtr, &length);
if (length != 1) {
return TCL_ERROR;
}