Fix builds

This commit is contained in:
Behdad Esfahbod 2018-09-14 12:14:42 +02:00
parent 4653e6cf3c
commit 957dbed388
1 changed files with 1 additions and 1 deletions

View File

@ -455,7 +455,7 @@ struct StateTable
inline unsigned int get_class (hb_codepoint_t glyph_id, unsigned int num_glyphs) const 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); 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 inline const Entry<Extra> *get_entries () const