From dd045a511b84d09542d9022ae11796856379bf3b Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Fri, 3 Jul 2009 18:01:38 +0900 Subject: [PATCH] pfr: Fix a data type mismatching with its source. --- ChangeLog | 9 +++++++++ src/pfr/pfrtypes.h | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 138aa707e..68b5bdfd0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2009-07-03 suzuki toshiya + + pfr: Fix a data type mismatching with its source. + + * src/pfr/pfrtypes.h: The type of PFR_KernItem->offset + is extended from FT_UInt32 to FT_Offset, because it is + calculated with the pointer difference, in + pfr_extra_item_load_kerning_pairs(). + 2009-07-03 suzuki toshiya pfr: Fix a data type mismatching with its source. diff --git a/src/pfr/pfrtypes.h b/src/pfr/pfrtypes.h index d90483923..918310814 100644 --- a/src/pfr/pfrtypes.h +++ b/src/pfr/pfrtypes.h @@ -200,7 +200,7 @@ FT_BEGIN_HEADER FT_Byte flags; FT_Short base_adj; FT_UInt pair_size; - FT_UInt32 offset; + FT_Offset offset; FT_UInt32 pair1; FT_UInt32 pair2;