sfnt: Insert explicit cast for LP64 system.

This commit is contained in:
suzuki toshiya 2009-08-01 00:32:23 +09:00
parent 2f07c57f5a
commit cad4f91555
2 changed files with 8 additions and 1 deletions

View File

@ -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.

View File

@ -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 )