Commit c4420d97f465a7931cda29941e1cf7f0b2aef661

suzuki toshiya 2009-08-01T00:32:21

pfr: Fix a data type mismatching with its source.

diff --git a/ChangeLog b/ChangeLog
index 1ea1742..ed73081 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2009-07-31  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
 
+	pfr: Fix a data type mismatching with its source.
+
+	* src/pfr/pfrtypes.h: The type of PFR_PhyFont->bct_offset
+	is extended from FT_UInt32 to FT_Long, because it is
+	loaded by FT_STREAM_POS() in pfr_phy_font_load().
+
+2009-07-31  suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
+
 	smooth: Improve the format in debug message.
 
 	* src/smooth/ftgrays.c (gray_dump_cells): Improve the
diff --git a/src/pfr/pfrtypes.h b/src/pfr/pfrtypes.h
index c0ae042..84149ea 100644
--- a/src/pfr/pfrtypes.h
+++ b/src/pfr/pfrtypes.h
@@ -260,7 +260,7 @@ FT_BEGIN_HEADER
     PFR_KernItem*      kern_items_tail;
 
     /* not part of the spec, but used during load */
-    FT_UInt32          bct_offset;
+    FT_Long            bct_offset;
     FT_Byte*           cursor;
 
   } PFR_PhyFontRec, *PFR_PhyFont;