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

New commits:
commit 957dbed388fc3214248f6aca65902ad277d070fb
Author: Behdad Esfahbod <beh...@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
_______________________________________________
HarfBuzz mailing list
HarfBuzz@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/harfbuzz

Reply via email to