diff --git a/ChangeLog b/ChangeLog index 107e831d0..ebf96a204 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-07-31 suzuki toshiya + + 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 gxvalid: Guarantee `just' table size upto 32-bit. diff --git a/src/sfnt/ttkern.c b/src/sfnt/ttkern.c index 0744b3fb1..e0d2ed825 100644 --- a/src/sfnt/ttkern.c +++ b/src/sfnt/ttkern.c @@ -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 )