mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
[pool] Fix alignment assertion
I *think* it should fix https://github.com/harfbuzz/harfbuzz/issues/1901 Ie. if on a system, alignof(void*) < sizeof(void*)...
This commit is contained in:
1 parent
b31d627f15
commit
aade9b70aa
1 file changed
+1
-1
+1
-1
@@ -77,7 +77,7 @@ struct hb_pool_t
|
||||
|
||||
static_assert (ChunkLen > 1, "");
|
||||
static_assert (sizeof (T) >= sizeof (void *), "");
|
||||
static_assert (alignof (T) % sizeof (void *) == 0, "");
|
||||
static_assert (alignof (T) % alignof (void *) == 0, "");
|
||||
|
||||
struct chunk_t
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user