diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/include/rtems/score/heap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpukit/score/include/rtems/score/heap.h b/cpukit/score/include/rtems/score/heap.h index 6eee1c745b..87dc66599e 100644 --- a/cpukit/score/include/rtems/score/heap.h +++ b/cpukit/score/include/rtems/score/heap.h @@ -177,7 +177,9 @@ typedef struct Heap_Block Heap_Block; } Heap_Protection_block_end; #define HEAP_PROTECTION_HEADER_SIZE \ - (sizeof(Heap_Protection_block_begin) + sizeof(Heap_Protection_block_end)) + (sizeof(Heap_Protection_block_begin) + \ + CPU_ALIGNMENT + \ + sizeof(Heap_Protection_block_end)) #endif /** |