diff options
Diffstat (limited to 'os/common/oslib/include/chheap.h')
-rw-r--r-- | os/common/oslib/include/chheap.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/common/oslib/include/chheap.h b/os/common/oslib/include/chheap.h index 64840a0c7..db8b70269 100644 --- a/os/common/oslib/include/chheap.h +++ b/os/common/oslib/include/chheap.h @@ -39,9 +39,9 @@ * @note Cannot use the sizeof operator in this macro.
*/
#if (SIZEOF_PTR == 4) || defined(__DOXYGEN__)
-#define CH_HEAP_ALIGNMENT 8
+#define CH_HEAP_ALIGNMENT 8U
#elif (SIZEOF_PTR == 2)
-#define CH_HEAP_ALIGNMENT 4
+#define CH_HEAP_ALIGNMENT 4U
#else
#error "unsupported pointer size"
#endif
|