From d4e425be859877c55d873a88516418512ffa9b72 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Sun, 5 Apr 2020 20:40:46 +0000 Subject: Better use public function Tcl_GetIntForIndex() in stead of private one. --- generic/tclTest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/tclTest.c b/generic/tclTest.c index aaadc1d..3d300cd 100644 --- a/generic/tclTest.c +++ b/generic/tclTest.c @@ -6823,7 +6823,7 @@ TestNumUtfCharsCmd( const char *bytes = Tcl_GetStringFromObj(objv[1], &numBytes); if (objc > 2) { - if (TclGetIntForIndex(interp, objv[2], numBytes, &limit) != TCL_OK) { + if (Tcl_GetIntForIndex(interp, objv[2], numBytes, &limit) != TCL_OK) { return TCL_ERROR; } if (limit > numBytes + 1) { -- cgit v0.12