forked from minhngoc25a/freetype2
19ea07683f
This eliminates explicit casting by switching to unsigned variables. The revised variables are frequently used together. * include/freetype/fttypes.h (FT_Data): Change to unsigned `length`. * include/freetype/internal/tttypes.h (TT_LoaderRec): Change to unsigned `byte_len`. * include/freetype/t1tables.h (CID_FaceInfoRec): Change to unsigned `gd_bytes` and `gd_bytes`. * src/cff/cffgload.c (cff_get_glyph_data, cff_free_glyph_data): Updated. * src/cid/cidgload.c (cid_load_glyph): Updated. * src/cid/cidload.h (cid_get_offset): Update argument. * src/cid/cidload.c (cid_get_offset, cid_face_open): Updated. * src/psaux/psft.c (cf2_getT1SeacComponent): Updated. * src/truetype/ttgload.c (TT_Process_Composite_Glyph, load_truetype_glyph): Updated. |
||
---|---|---|
.. | ||
freetype | ||
ft2build.h |