summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdAH.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2023-07-26 11:29:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2023-07-26 11:29:37 (GMT)
commitb8117727ea202b0bdb4566ec994df5a4faaf93d8 (patch)
treedcd62775c6b1aba50d8f758edd6c18f36132d767 /generic/tclCmdAH.c
parent862ae1266cd494baaed59be9a1d74b66de7eaa6a (diff)
parent033b9b29141f7f3bed61e089654387e8c3059678 (diff)
downloadtcl-b8117727ea202b0bdb4566ec994df5a4faaf93d8.zip
tcl-b8117727ea202b0bdb4566ec994df5a4faaf93d8.tar.gz
tcl-b8117727ea202b0bdb4566ec994df5a4faaf93d8.tar.bz2
Rebase to 8.7
Diffstat (limited to 'generic/tclCmdAH.c')
-rw-r--r--generic/tclCmdAH.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCmdAH.c b/generic/tclCmdAH.c
index 9c9cc26..296ea62 100644
--- a/generic/tclCmdAH.c
+++ b/generic/tclCmdAH.c
@@ -679,7 +679,7 @@ EncodingConvertfromObjCmd(
bytesPtr = (char *) Tcl_GetByteArrayFromObj(data, &length);
} else
#endif
- bytesPtr = (char *) TclGetBytesFromObj(interp, data, &length);
+ bytesPtr = (char *) Tcl_GetBytesFromObj(interp, data, &length);
if (bytesPtr == NULL) {
return TCL_ERROR;
@@ -2197,7 +2197,7 @@ PathSplitCmd(
Tcl_WrongNumArgs(interp, 1, objv, "name");
return TCL_ERROR;
}
- res = Tcl_FSSplitPath(objv[1], (Tcl_Size *)NULL);
+ res = Tcl_FSSplitPath(objv[1], NULL);
if (res == NULL) {
Tcl_SetObjResult(interp, Tcl_ObjPrintf(
"could not read \"%s\": no such file or directory",