Subject: eliminate compiler warning in previous commit

From: "jan.nijtmans" <[email-masked]>
Date: Mon, 17 Sep 2012 10:45:47 +0000

---
 generic/tclBinary.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
-- 
cgit v0.12