* src/sfnt/ttload.c (tt_face_load_gasp): Fix a type mismatch warning.

This commit is contained in:
Alexei Podtelezhnikov 2021-11-07 23:21:40 -05:00
parent 7f4b9bfbc9
commit 9ebdc9cb1b
1 changed files with 2 additions and 2 deletions

View File

@ -1433,7 +1433,7 @@
FT_Error error;
FT_Memory memory = stream->memory;
FT_UInt j,num_ranges;
FT_UShort j, num_ranges;
TT_GaspRange gasp_ranges = NULL;
@ -1458,7 +1458,7 @@
goto Exit;
}
FT_TRACE3(( "numRanges: %u\n", num_ranges ));
FT_TRACE3(( "numRanges: %hu\n", num_ranges ));
if ( FT_QNEW_ARRAY( gasp_ranges, num_ranges ) ||
FT_FRAME_ENTER( num_ranges * 4L ) )