diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-11-08 09:12:13 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2023-11-08 09:12:13 (GMT) |
commit | 994d65042ff6ea1aa6dc4b8e9da020b27817f0c6 (patch) | |
tree | bb5c952eb3d8d7fe5d5a020a1a0cd4803c5b1d98 /generic/tclZipfs.c | |
parent | fcccf8ec89035dac2b9d50f08c163cb4125feecb (diff) | |
download | tcl-994d65042ff6ea1aa6dc4b8e9da020b27817f0c6.zip tcl-994d65042ff6ea1aa6dc4b8e9da020b27817f0c6.tar.gz tcl-994d65042ff6ea1aa6dc4b8e9da020b27817f0c6.tar.bz2 |
Tcl_GetByteArrayFromObj -> Tcl_GetBytesFromObj everywhere in core, since it has the possibility of better error-reporting. This fixes the -DTCL_NO_DEPRECATED build failure
Diffstat (limited to 'generic/tclZipfs.c')
-rw-r--r-- | generic/tclZipfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclZipfs.c b/generic/tclZipfs.c index cdf8646..54eb4b0 100644 --- a/generic/tclZipfs.c +++ b/generic/tclZipfs.c @@ -2758,7 +2758,7 @@ ZipFSMkKeyObjCmd( } passObj = Tcl_NewByteArrayObj(NULL, 264); - passBuf = Tcl_GetByteArrayFromObj(passObj, (Tcl_Size *)NULL); + passBuf = Tcl_GetBytesFromObj(NULL, passObj, (Tcl_Size *)NULL); while (len > 0) { int ch = pw[len - 1]; |