* src/sfnt/ttgpos.c (tt_gpos_get_glyph_class): Fix warning C4018.

This commit is contained in:
Alexei Podtelezhnikov 2024-01-27 10:47:10 -05:00
parent 8f286c86ef
commit 4f0256c13f
1 changed files with 3 additions and 3 deletions

View File

@ -280,9 +280,9 @@
{
case CLASS_DEF_TABLE_FORMAT_ARRAY:
{
FT_UShort start_glyph_id = FT_PEEK_USHORT( class_def_table + 2 );
FT_UShort glyph_count = FT_PEEK_USHORT( class_def_table + 4 );
FT_Byte *class_value_array = class_def_table + 6;
FT_UInt start_glyph_id = FT_PEEK_USHORT( class_def_table + 2 );
FT_UInt glyph_count = FT_PEEK_USHORT( class_def_table + 4 );
FT_Byte *class_value_array = class_def_table + 6;
if ( glyph >= start_glyph_id &&