projects
/
profile
/
ivi
/
org.tizen.video-player.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b13640d
)
Add few more paratheses to the HB_TAG macro
author
Behdad Esfahbod
<behdad@behdad.org>
Mon, 11 Apr 2011 16:29:52 +0000
(12:29 -0400)
committer
Behdad Esfahbod
<behdad@behdad.org>
Mon, 11 Apr 2011 16:29:52 +0000
(12:29 -0400)
Never hurts.
src/hb-common.h
patch
|
blob
|
history
diff --git
a/src/hb-common.h
b/src/hb-common.h
index
6648486
..
ba65ec1
100644
(file)
--- a/
src/hb-common.h
+++ b/
src/hb-common.h
@@
-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], \