[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[freetype2] master f8a4163: * include/freetype/fttypes.h (FT_MAKE_TAG):
From: |
Werner Lemberg |
Subject: |
[freetype2] master f8a4163: * include/freetype/fttypes.h (FT_MAKE_TAG): Remove the same casting. |
Date: |
Sat, 20 Nov 2021 07:06:18 -0500 (EST) |
branch: master
commit f8a4163a459e828a1b908b1f64737b2daab17299
Author: Alexei Podtelezhnikov <apodtele@gmail.com>
Commit: Alexei Podtelezhnikov <apodtele@gmail.com>
* include/freetype/fttypes.h (FT_MAKE_TAG): Remove the same casting.
---
include/freetype/fttypes.h | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/include/freetype/fttypes.h b/include/freetype/fttypes.h
index eb7c472..699bd00 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 ) )
/*************************************************************************/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [freetype2] master f8a4163: * include/freetype/fttypes.h (FT_MAKE_TAG): Remove the same casting.,
Werner Lemberg <=