Fix builds
diff --git a/src/hb-aat-layout-common.hh b/src/hb-aat-layout-common.hh
index c22ba5b..af71ebd 100644
--- a/src/hb-aat-layout-common.hh
+++ b/src/hb-aat-layout-common.hh
@@ -455,7 +455,7 @@
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