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. |
||
---|---|---|
.. | ||
services | ||
autohint.h | ||
cffotypes.h | ||
cfftypes.h | ||
compiler-macros.h | ||
ftcalc.h | ||
ftdebug.h | ||
ftdrv.h | ||
ftgloadr.h | ||
fthash.h | ||
ftmemory.h | ||
ftobjs.h | ||
ftpsprop.h | ||
ftrfork.h | ||
ftserv.h | ||
ftstream.h | ||
fttrace.h | ||
ftvalid.h | ||
psaux.h | ||
pshints.h | ||
sfnt.h | ||
t1types.h | ||
tttypes.h | ||
wofftypes.h |