[HB] Bitfield packing *is* very delicate
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 13 Aug 2009 15:47:08 +0000 (11:47 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 2 Nov 2009 19:40:42 +0000 (14:40 -0500)
Fix the second instance.

src/hb-buffer.h

index f06a255..f27739f 100644 (file)
@@ -56,7 +56,7 @@ typedef struct _hb_glyph_position_t {
   hb_position_t  x_advance;
   hb_position_t  y_advance;
   /* XXX these should all be replaced by "uint32_t internal" */
-  hb_bool_t      new_advance :1;       /* if set, the advance width values are
+  unsigned short new_advance :1;       /* if set, the advance width values are
                                           absolute, i.e., they won't be
                                           added to the original glyph's value
                                           but rather replace them */