diff options
author | Richard Braun <rbraun@sceen.net> | 2018-02-18 17:11:32 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-02-18 17:11:32 +0100 |
commit | 709350072bbd2fe1d5f80e4b426bcb0ed50f3d5d (patch) | |
tree | b26e7c7a59ef74ea4a7ec44c4dc77b114de41a98 | |
parent | c8812e110b3fb23a675957d97d2afa057169c866 (diff) |
mem: fix boundary tag alignment
-rw-r--r-- | src/mem.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -195,7 +195,7 @@ * bit is always 0. Therefore, this bit is used to store the allocation flag. */ struct mem_btag { - size_t value; + size_t value __aligned(MEM_ALIGN); }; /* @@ -208,7 +208,7 @@ struct mem_btag { */ struct mem_block { struct mem_btag btag; - char payload[] __aligned(MEM_ALIGN); + char payload[]; }; /* |