Skip to content

Commit

Permalink
* src/sfnt/ttgpos.c (tt_gpos_get_glyph_class): Fix warning C4018.
Browse files Browse the repository at this point in the history
  • Loading branch information
apodtele committed Jan 27, 2024
1 parent 8f286c8 commit 4f0256c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/sfnt/ttgpos.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down

0 comments on commit 4f0256c

Please sign in to comment.