mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 10:34:23 +01:00
Add few more paratheses to the HB_TAG macro
Never hurts.
This commit is contained in:
1 parent
b13640de69
commit
d77b76200e
1 file changed
+1
-1
+1
-1
@@ -54,7 +54,7 @@ typedef unsigned long long uint64_t;
|
||||
typedef int hb_bool_t;
|
||||
|
||||
typedef uint32_t hb_tag_t;
|
||||
#define HB_TAG(a,b,c,d) ((hb_tag_t)(((uint8_t)a<<24)|((uint8_t)b<<16)|((uint8_t)c<<8)|(uint8_t)d))
|
||||
#define HB_TAG(a,b,c,d) ((hb_tag_t)((((uint8_t)(a))<<24)|(((uint8_t)(b))<<16)|(((uint8_t)(c))<<8)|((uint8_t)(d))))
|
||||
#define HB_TAG_STR(s) (HB_TAG(((const char *) s)[0], \
|
||||
((const char *) s)[1], \
|
||||
((const char *) s)[2], \
|
||||
|
||||
Reference in new issue
Block a user