summaryrefslogtreecommitdiffstats
path: root/generic/tclUtil.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclUtil.c')
-rw-r--r--generic/tclUtil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclUtil.c b/generic/tclUtil.c
index bc51a41..8c2485e 100644
--- a/generic/tclUtil.c
+++ b/generic/tclUtil.c
@@ -3486,7 +3486,7 @@ GetEndOffsetFromObj(
if ((TclMaxListLength(bytes, -1, NULL) > 1)
/* If it's possible, do the full list parse. */
- && (TCL_OK == TclListObjLength(NULL, objPtr, &len))
+ && (TCL_OK == TclListObjLengthM(NULL, objPtr, &len))
&& (len > 1)) {
goto parseError;
}