summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem.c b/src/mem.c
index 3392011..19d9e9c 100644
--- a/src/mem.c
+++ b/src/mem.c
@@ -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[];
};
/*