summaryrefslogtreecommitdiffstats
path: root/generic/tclBinary.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclBinary.c')
-rw-r--r--generic/tclBinary.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclBinary.c b/generic/tclBinary.c
index 8b282f3..8be4b75 100644
--- a/generic/tclBinary.c
+++ b/generic/tclBinary.c
@@ -1060,7 +1060,7 @@ BinaryFormatCmd(
* The macro evals its args more than once: avoid arg++
*/
- if (TclListObjLengthM(interp, objv[arg], &listc
+ if (TclListObjLength(interp, objv[arg], &listc
) != TCL_OK) {
return TCL_ERROR;
}
@@ -1073,7 +1073,7 @@ BinaryFormatCmd(
-1));
return TCL_ERROR;
}
- if (TclListObjGetElementsM(interp, objv[arg], &listc,
+ if (TclListObjGetElements(interp, objv[arg], &listc,
&listv) != TCL_OK) {
return TCL_ERROR;
}
@@ -1346,7 +1346,7 @@ BinaryFormatCmd(
listc = 1;
count = 1;
} else {
- TclListObjGetElementsM(interp, objv[arg], &listc, &listv);
+ TclListObjGetElements(interp, objv[arg], &listc, &listv);
if (count == BINARY_ALL) {
count = listc;
}