[aat] Fix division sign fallout

Happened after 11d2f49af8
since now nClasses is unsigned int...
This commit is contained in:
Behdad Esfahbod 2018-12-02 12:38:53 -05:00
parent 2087f5a2a7
commit 84efe0438e
2 changed files with 1 additions and 1 deletions

View File

@ -504,7 +504,7 @@ struct StateTable
};
inline int new_state (unsigned int newState) const
{ return Types::extended ? newState : ((int) newState - (int) stateArrayTable) / nClasses; }
{ return Types::extended ? newState : ((int) newState - (int) stateArrayTable) / (int) nClasses; }
inline unsigned int get_class (hb_codepoint_t glyph_id, unsigned int num_glyphs) const
{