mirror of https://github.com/freetype/freetype
* src/sfnt/ttload.c (tt_face_load_gasp): Fix a type mismatch warning.
This commit is contained in:
parent
7f4b9bfbc9
commit
9ebdc9cb1b
|
@ -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 ) )
|
||||
|
|
Loading…
Reference in New Issue