summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2021-11-20 07:01:26 -0500
committerAlexei Podtelezhnikov <apodtele@gmail.com>2021-11-20 07:01:26 -0500
commitf8a4163a459e828a1b908b1f64737b2daab17299 (patch)
treec3ed0f3f48a10b40e51533217e2e800a6ac52cb7
parent6da5f95fcfd90a2dce758d6304b51544a91f885e (diff)
downloadfreetype2-f8a4163a459e828a1b908b1f64737b2daab17299.tar.gz
* include/freetype/fttypes.h (FT_MAKE_TAG): Remove the same casting.
-rw-r--r--include/freetype/fttypes.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/include/freetype/fttypes.h b/include/freetype/fttypes.h
index eb7c472c9..699bd003c 100644
--- a/include/freetype/fttypes.h
+++ b/include/freetype/fttypes.h
@@ -485,13 +485,11 @@ FT_BEGIN_HEADER
* The produced values **must** be 32-bit integers. Don't redefine this
* macro.
*/
-#define FT_MAKE_TAG( _x1, _x2, _x3, _x4 ) \
- FT_STATIC_CAST( \
- FT_Tag, \
- ( ( FT_STATIC_BYTE_CAST( FT_Tag, _x1 ) << 24 ) | \
- ( FT_STATIC_BYTE_CAST( FT_Tag, _x2 ) << 16 ) | \
- ( FT_STATIC_BYTE_CAST( FT_Tag, _x3 ) << 8 ) | \
- FT_STATIC_BYTE_CAST( FT_Tag, _x4 ) ) )
+#define FT_MAKE_TAG( _x1, _x2, _x3, _x4 ) \
+ ( ( FT_STATIC_BYTE_CAST( FT_Tag, _x1 ) << 24 ) | \
+ ( FT_STATIC_BYTE_CAST( FT_Tag, _x2 ) << 16 ) | \
+ ( FT_STATIC_BYTE_CAST( FT_Tag, _x3 ) << 8 ) | \
+ FT_STATIC_BYTE_CAST( FT_Tag, _x4 ) )
/*************************************************************************/