diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-01-26 08:37:09 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2022-01-26 08:37:09 (GMT) |
| commit | 789ce0b97106ca8a3f91ab68ddaaf1fa904dcace (patch) | |
| tree | dbfc9faeb241149d5f694a03985a4510813adf89 /generic/tclIO.c | |
| parent | bf32d5a0ab8f0030ffed9ba63186dbb3cdb02bdd (diff) | |
| download | tcl-789ce0b97106ca8a3f91ab68ddaaf1fa904dcace.zip tcl-789ce0b97106ca8a3f91ab68ddaaf1fa904dcace.tar.gz tcl-789ce0b97106ca8a3f91ab68ddaaf1fa904dcace.tar.bz2 | |
More WIP
Diffstat (limited to 'generic/tclIO.c')
| -rw-r--r-- | generic/tclIO.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c index ee5f5e3..4aa3f22 100644 --- a/generic/tclIO.c +++ b/generic/tclIO.c @@ -10910,7 +10910,8 @@ static Tcl_Obj * FixLevelCode( Tcl_Obj *msg) { - int explicitResult, numOptions, lc, lcn; + int explicitResult, numOptions, lcn; + size_t lc; Tcl_Obj **lv, **lvn; int res, i, j, val, lignore, cignore; int newlevel = -1, newcode = -1; @@ -10927,7 +10928,7 @@ FixLevelCode( * information. Hence an error means that we've got serious breakage. */ - res = TclListObjGetElements_(NULL, msg, &lc, &lv); + res = Tcl_ListObjGetElements(NULL, msg, &lc, &lv); if (res != TCL_OK) { Tcl_Panic("Tcl_SetChannelError: bad syntax of message"); } |
