Commit 2a2beb47c4b7b61be75ca92c96976ef9f33c64f0

suzuki toshiya 2009-08-01T00:37:57

sfnt: Extend a few local variables to load 32-bit values.

diff --git a/ChangeLog b/ChangeLog
index 3d051c0..449a2bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2009-07-31  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
 
+	sfnt: Extend a few local variables to load 32-bit values.
+
+	* src/sfnt/ttkern.c (tt_face_load_kern): Extend `count'
+	and `kern' to load 32-bit values.
+
+2009-07-31  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
+
 	pfr: Extend `num_aux' to take 32-bit value.
 
 	* src/pfr/pfrload.c (pfr_phy_font_load): Extend
diff --git a/src/sfnt/ttkern.c b/src/sfnt/ttkern.c
index e0d2ed8..c154080 100644
--- a/src/sfnt/ttkern.c
+++ b/src/sfnt/ttkern.c
@@ -126,8 +126,8 @@
        */
       if ( num_pairs > 0 )
       {
-        FT_UInt  count;
-        FT_UInt  old_pair;
+        FT_ULong  count;
+        FT_ULong  old_pair;
 
 
         old_pair = FT_NEXT_ULONG( p );