shithub: freetype+ttf2subf

Download patch

ref: 010590505253074e31bdea85f9080a5c158e5439
parent: cf31edf5ee16c1babfb76c677daa8664a36cef36
author: suzuki toshiya <[email protected]>
date: Fri Jul 31 20:32:20 EDT 2009

sfnt: Fix a data type mismatching with its source.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2009-07-31  suzuki toshiya <[email protected]>
 
+	sfnt: Fix a data type mismatching with its source.
+
+	* src/sfnt/sfobjs.c (sfnt_load_face): The type of
+	local `flags' is matched with FT_Face->face_flags.
+
+2009-07-31  suzuki toshiya <[email protected]>
+
 	psaux: Fix a data type mismatching with its source.
 
 	* include/freetype/internal/psaux.h: The type of
--- a/src/sfnt/sfobjs.c
+++ b/src/sfnt/sfobjs.c
@@ -749,8 +749,8 @@
 
     /* now set up root fields */
     {
-      FT_Face   root  = &face->root;
-      FT_Int32  flags = root->face_flags;
+      FT_Face  root  = &face->root;
+      FT_Long  flags = root->face_flags;
 
 
       /*********************************************************************/