shithub: freetype+ttf2subf

Download patch

ref: 41f9d0d6eebc698a83394f1d97cfb206484ac740
parent: 82ebaa7b0512030cd3c9d80dcfac58612246be8d
author: suzuki toshiya <[email protected]>
date: Fri Jul 31 20:30:18 EDT 2009

fttypes.h: Cast FT_MAKE_TAG output to FT_Tag exlicitly.

git/fs: mount .git/fs: mount/attach disallowed
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2009-07-31  suzuki toshiya <[email protected]>
 
+	fttypes.h: Cast FT_MAKE_TAG output to FT_Tag exlicitly.
+
+	* include/freetype/fttypes.h (FT_MAKE_TAG):
+	Cast the result to FT_Tag.
+
+2009-07-31  suzuki toshiya <[email protected]>
+
 	psnames: Handle Unicode codepoints by FT_UInt32 variables.
 
 	* src/psnames/psmodule.c (BASE_GLYPH): Cast the result
--- a/include/freetype/fttypes.h
+++ b/include/freetype/fttypes.h
@@ -474,6 +474,7 @@
   /*    this macro.                                                        */
   /*                                                                       */
 #define FT_MAKE_TAG( _x1, _x2, _x3, _x4 ) \
+          (FT_Tag)                        \
           ( ( (FT_ULong)_x1 << 24 ) |     \
             ( (FT_ULong)_x2 << 16 ) |     \
             ( (FT_ULong)_x3 <<  8 ) |     \