pcf: Fix some data types mismatching with their sources.

int-not32-changes
suzuki toshiya 16 years ago
parent 8ffff68644
commit 74d4783ec1
  1. 8
      ChangeLog
  2. 2
      src/pcf/pcfread.c

@ -1,3 +1,11 @@
2009-07-03 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-03 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…
Cancel
Save