fttypes.h: Cast FT_MAKE_TAG output to FT_Tag exlicitly.

This commit is contained in:
suzuki toshiya 2009-07-03 18:01:22 +09:00
parent 9f8e1eff87
commit e4831fc3c3
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2009-07-03 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
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-03 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
psnames: Handle Unicode codepoints by FT_UInt32 variables.

View File

@ -474,6 +474,7 @@ FT_BEGIN_HEADER
/* this macro. */
/* */
#define FT_MAKE_TAG( _x1, _x2, _x3, _x4 ) \
(FT_Tag) \
( ( (FT_ULong)_x1 << 24 ) | \
( (FT_ULong)_x2 << 16 ) | \
( (FT_ULong)_x3 << 8 ) | \