diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-06-04 15:15:17 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-06-04 15:15:17 (GMT) |
commit | efa3f20107fd11d11b28c05948305af61885a33d (patch) | |
tree | 1ea01a2eecb8cc011121396613f75965a000dff3 /generic/tclBinary.c | |
parent | 654d14d706b3f2d084823945876a3df8f2de0abd (diff) | |
parent | ee793dfa1eadb249a50933784a47bacc5d63ca14 (diff) | |
download | tcl-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.c | 2 |
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"); } |