summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Braun <rbraun@sceen.net>2018-02-18 17:13:01 +0100
committerRichard Braun <rbraun@sceen.net>2018-02-18 17:13:01 +0100
commit171762a7be5535bfd79dd8154be89fef1f3f5afa (patch)
tree8f44701b7711097dad45cb7cedf6ccb670c41890
parentcd5e3c971c73f8b6111486c273be3634e3867e81 (diff)
parent709350072bbd2fe1d5f80e4b426bcb0ed50f3d5d (diff)
Merge branch 'qemu_netduino2' into olimex-stm32-h407
-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[];
};
/*