summaryrefslogtreecommitdiffstats
path: root/generic/tclBinary.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-04 15:15:17 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-06-04 15:15:17 (GMT)
commitefa3f20107fd11d11b28c05948305af61885a33d (patch)
tree1ea01a2eecb8cc011121396613f75965a000dff3 /generic/tclBinary.c
parent654d14d706b3f2d084823945876a3df8f2de0abd (diff)
parentee793dfa1eadb249a50933784a47bacc5d63ca14 (diff)
downloadtcl-efa3f20107fd11d11b28c05948305af61885a33d.zip
tcl-efa3f20107fd11d11b28c05948305af61885a33d.tar.gz
tcl-efa3f20107fd11d11b28c05948305af61885a33d.tar.bz2
Merge 8.7. Use more TCL_INDEX_NONE in documentation/headers/code.
Diffstat (limited to 'generic/tclBinary.c')
-rw-r--r--generic/tclBinary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclBinary.c b/generic/tclBinary.c
index ac319be..ea84b50 100644
--- a/generic/tclBinary.c
+++ b/generic/tclBinary.c
@@ -842,7 +842,7 @@ TclAppendBytesToByteArray(
if (Tcl_IsShared(objPtr)) {
Tcl_Panic("%s called with shared object","TclAppendBytesToByteArray");
}
- if (len == TCL_AUTO_LENGTH) {
+ if (len == TCL_INDEX_NONE) {
Tcl_Panic("%s must be called with definite number of bytes to append",
"TclAppendBytesToByteArray");
}