diff --git a/ChangeLog b/ChangeLog index ce3b9247d..23da6e555 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2009-07-31 suzuki toshiya + + 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 psnames: Handle Unicode codepoints by FT_UInt32 variables. diff --git a/include/freetype/fttypes.h b/include/freetype/fttypes.h index d7bf92aaf..a57ffa69b 100644 --- a/include/freetype/fttypes.h +++ b/include/freetype/fttypes.h @@ -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 ) | \