projects
/
platform
/
upstream
/
libHarfBuzzSharp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19256be
)
Define uint64_t constants with ULL suffix
author
Behdad Esfahbod
<behdad@behdad.org>
Sat, 24 Mar 2018 21:12:12 +0000
(14:12 -0700)
committer
Behdad Esfahbod
<behdad@behdad.org>
Sat, 24 Mar 2018 21:12:12 +0000
(14:12 -0700)
Fixes https://github.com/harfbuzz/harfbuzz/issues/901
src/hb-private.hh
patch
|
blob
|
history
diff --git
a/src/hb-private.hh
b/src/hb-private.hh
index
62a103c
..
e34e5c7
100644
(file)
--- a/
src/hb-private.hh
+++ b/
src/hb-private.hh
@@
-414,7
+414,7
@@
_hb_bit_storage (T v)
if (sizeof (T) <= 8)
{
/* "bithacks" */
- const uint64_t b[] = {0x2
, 0xC, 0xF0, 0xFF00, 0xFFFF0000, 0xFFFFFFFF00000000
};
+ const uint64_t b[] = {0x2
ULL, 0xCULL, 0xF0ULL, 0xFF00ULL, 0xFFFF0000ULL, 0xFFFFFFFF00000000ULL
};
const unsigned int S[] = {1, 2, 4, 8, 16, 32};
unsigned int r = 0;
for (int i = 5; i >= 0; i--)