[HarfBuzz] harfbuzz: Branch 'master'

Behdad Esfahbod behdad at kemper.freedesktop.org
Fri Sep 14 10:15:02 UTC 2018


 src/hb-aat-layout-common.hh |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 957dbed388fc3214248f6aca65902ad277d070fb
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Fri Sep 14 12:14:42 2018 +0200

    Fix builds

diff --git a/src/hb-aat-layout-common.hh b/src/hb-aat-layout-common.hh
index c22ba5b2..af71ebd3 100644
--- a/src/hb-aat-layout-common.hh
+++ b/src/hb-aat-layout-common.hh
@@ -455,7 +455,7 @@ struct StateTable
   inline unsigned int get_class (hb_codepoint_t glyph_id, unsigned int num_glyphs) const
   {
     const HBUINT16 *v = (this+classTable).get_value (glyph_id, num_glyphs);
-    return v ? *v : CLASS_OUT_OF_BOUNDS;
+    return v ? (unsigned) *v : (unsigned) CLASS_OUT_OF_BOUNDS;
   }
 
   inline const Entry<Extra> *get_entries () const


More information about the HarfBuzz mailing list