sfnt: Insert explicit cast for LP64 system.

dbgmem-more-limiters
suzuki toshiya 16 years ago
parent 2f07c57f5a
commit cad4f91555
  1. 7
      ChangeLog
  2. 2
      src/sfnt/ttkern.c

@ -1,3 +1,10 @@
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
sfnt: Insert explicit cast for LP64 system.
* src/sfnt/ttkern.c (tt_face_load_kern): Insert
cast from unsigned long to FT_UInt32.
2009-07-31 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
gxvalid: Guarantee `just' table size upto 32-bit.

@ -87,7 +87,7 @@
{
FT_UInt num_pairs, length, coverage;
FT_Byte* p_next;
FT_UInt32 mask = 1UL << nn;
FT_UInt32 mask = (FT_UInt32)1UL << nn;
if ( p + 6 > p_limit )

Loading…
Cancel
Save