diff --git a/src/hb-pool.hh b/src/hb-pool.hh index ff0ee194c..2dd84968e 100644 --- a/src/hb-pool.hh +++ b/src/hb-pool.hh @@ -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 {