diff options
-rw-r--r-- | generic/tclStrToD.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c index 20fec58..ed2e80f 100644 --- a/generic/tclStrToD.c +++ b/generic/tclStrToD.c @@ -553,7 +553,7 @@ TclParseNumber( if (objPtr->typePtr == &tclListType) { int length; /* A list can only be a (single) number if its length == 1 */ - ListObjLength(objPtr, length); + TclListObjLength(NULL, objPtr, &length); if (length != 1) { return TCL_ERROR; } |