diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-09-17 10:45:47 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-09-17 10:45:47 (GMT) |
commit | 2877f3cf83e4fd6c3b74afeccd6181eb6257cd11 (patch) | |
tree | 45c0fe350eb26228b0fa4ffd8d106bee600b1114 | |
parent | 30f37c1d6c3d34f4214857942e0a1db397435b50 (diff) | |
download | tcl-2877f3cf83e4fd6c3b74afeccd6181eb6257cd11.zip tcl-2877f3cf83e4fd6c3b74afeccd6181eb6257cd11.tar.gz tcl-2877f3cf83e4fd6c3b74afeccd6181eb6257cd11.tar.bz2 |
eliminate compiler warning in previous commit
FossilOrigin-Name: 6b15f347ebfc6954b2a01591472f11e0dc683d69
-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 d3b11d3..9ba06ee 100644 --- a/generic/tclBinary.c +++ b/generic/tclBinary.c @@ -280,7 +280,7 @@ Tcl_SetByteArrayObj( byteArrayPtr->used = length; byteArrayPtr->allocated = length; - if ((length != NULL) && (bytes > 0)) { + if ((bytes != NULL) && (length > 0)) { memcpy(byteArrayPtr->bytes, bytes, (size_t) length); } objPtr->typePtr = &tclByteArrayType; |