projects
/
framework
/
uifw
/
harfbuzz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd7555e
)
Fix hb_be_uint16()
author
Behdad Esfahbod
<behdad@behdad.org>
Tue, 3 Nov 2009 20:21:15 +0000
(15:21 -0500)
committer
Behdad Esfahbod
<behdad@behdad.org>
Tue, 3 Nov 2009 20:21:15 +0000
(15:21 -0500)
src/hb-private.h
patch
|
blob
|
history
diff --git
a/src/hb-private.h
b/src/hb-private.h
index
61bd972
..
c9f2ae7
100644
(file)
--- a/
src/hb-private.h
+++ b/
src/hb-private.h
@@
-90,7
+90,7
@@
typedef int hb_mutex_t;
/* Big-endian handling */
-#define hb_be_uint16(v) ((uint16_t) ((((const uint8_t *)&(v))[0]
>> 8) + (((const uint8_t *)&(v))[1] << 8
)))
+#define hb_be_uint16(v) ((uint16_t) ((((const uint8_t *)&(v))[0]
<< 8) + (((const uint8_t *)&(v))[1]
)))
#define hb_be_uint8_put_unaligned(v,V) (v[0] = (V), 0)
#define hb_be_uint8_get_unaligned(v) (uint8_t) (v[0])