The fields were initialized out of order, causing a cast from
NULL to unsigned int and a cast from 0 to a pointer.

Signed-off-by: James Cloos <[email protected]>
---
 src/hb-blob.cc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/hb-blob.cc b/src/hb-blob.cc
index 58d7324..b2b1d9c 100644
--- a/src/hb-blob.cc
+++ b/src/hb-blob.cc
@@ -64,8 +64,8 @@ static hb_blob_t _hb_blob_nil = {
 
   TRUE, /* immutable */
 
-  0, /* length */
   NULL, /* data */
+  0, /* length */
   HB_MEMORY_MODE_READONLY, /* mode */
 
   NULL, /* user_data */
-- 
1.7.6.1

_______________________________________________
HarfBuzz mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to