summaryrefslogtreecommitdiffstats
path: root/generic/tclInterp.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/tclInterp.c
parent875e3b392ba9b930fa009077b451b08f15b4ea72 (diff)
parentaf3e9b9825f98a98907966cdd71286c1f00c8bcf (diff)
downloadtcl-6bdd87140b59bb9442e2e281da2c1c65bfaccd37.zip
tcl-6bdd87140b59bb9442e2e281da2c1c65bfaccd37.tar.gz
tcl-6bdd87140b59bb9442e2e281da2c1c65bfaccd37.tar.bz2
More work in progress
Diffstat (limited to 'generic/tclInterp.c')
-rw-r--r--generic/tclInterp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclInterp.c b/generic/tclInterp.c
index 3c2f2be..0b2e7f7 100644
--- a/generic/tclInterp.c
+++ b/generic/tclInterp.c
@@ -2378,9 +2378,9 @@ ChildBgerror(
Tcl_Obj *const objv[]) /* Argument strings. */
{
if (objc) {
- int length;
+ size_t length;
- if (TCL_ERROR == TclListObjLength_(NULL, objv[0], &length)
+ if (TCL_ERROR == Tcl_ListObjLength(NULL, objv[0], &length)
|| (length < 1)) {
Tcl_SetObjResult(interp, Tcl_NewStringObj(
"cmdPrefix must be list of length >= 1", -1));