* src/sfnt/ttcolr.c (find_base_glyph_v1_record): Fix build in C90 mode.

This commit is contained in:
Ozkan Sezer 2024-01-08 20:25:31 +01:00 committed by Werner Lemberg
parent cc081d7cce
commit 7bac4d146a

View File

@ -1279,7 +1279,8 @@
while ( min < max )
{
FT_UInt mid = min + ( max - min ) / 2;
FT_UInt mid = min + ( max - min ) / 2;
FT_UShort gid;
/*
* `base_glyph_begin` is the beginning of `BaseGlyphV1List`;
@ -1296,8 +1297,7 @@
if ( p > end_colr - 2 - 4 )
return 0;
FT_UShort gid = FT_NEXT_USHORT( p );
gid = FT_NEXT_USHORT( p );
if ( gid < glyph_id )
min = mid + 1;