forked from minhngoc25a/freetype2
pcf: Fix some data types mismatching with their sources.
This commit is contained in:
parent
c595c06c61
commit
75d56e5d79
|
@ -1,3 +1,11 @@
|
|||
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
pcf: Fix some data types mismatching with their sources.
|
||||
|
||||
* src/pcf/pcfread.c (pcf_get_bitmaps): The types
|
||||
of `nbitmaps', `i', `sizebitmaps' are matched with
|
||||
the type of area FT_Bitmap.pitch * FT_Bitmap.rows.
|
||||
|
||||
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
|
||||
|
||||
pcf: Handle the string length by size_t variables.
|
||||
|
|
|
@ -661,7 +661,7 @@ THE SOFTWARE.
|
|||
FT_Long* offsets;
|
||||
FT_Long bitmapSizes[GLYPHPADOPTIONS];
|
||||
FT_ULong format, size;
|
||||
int nbitmaps, i, sizebitmaps = 0;
|
||||
FT_ULong nbitmaps, i, sizebitmaps = 0;
|
||||
|
||||
|
||||
error = pcf_seek_to_table_type( stream,
|
||||
|
|
Loading…
Reference in New Issue