summaryrefslogtreecommitdiffstats
path: root/generic/tclBasic.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-11-25 10:16:35 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-11-25 10:16:35 (GMT)
commit7bf0253a4354d176c6582cd6f4ed02434e6c4797 (patch)
treec192192966d0ad2b30ba68914386d7e209af9028 /generic/tclBasic.c
parent826db93d76965d85df64187e05ec05095a6eae56 (diff)
parent73116e2c54973fea6efc412b979d78999df3a08a (diff)
downloadtcl-7bf0253a4354d176c6582cd6f4ed02434e6c4797.zip
tcl-7bf0253a4354d176c6582cd6f4ed02434e6c4797.tar.gz
tcl-7bf0253a4354d176c6582cd6f4ed02434e6c4797.tar.bz2
Merge 9.0
Diffstat (limited to 'generic/tclBasic.c')
-rw-r--r--generic/tclBasic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclBasic.c b/generic/tclBasic.c
index 0f968e1..561e4cd 100644
--- a/generic/tclBasic.c
+++ b/generic/tclBasic.c
@@ -621,8 +621,8 @@ buildInfoObjCmd2(
return TCL_ERROR;
}
if (objc == 2) {
- int len;
- const char *arg = TclGetStringFromObj(objv[1], &len);
+ size_t len;
+ const char *arg = Tcl_GetStringFromObj(objv[1], &len);
if (len == 7 && !strcmp(arg, "version")) {
char buf[80];
const char *p = strchr((char *)clientData, '.');