From 9683ccfa78dff27ef8479e3af8d6817f51455ec2 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 5 Feb 2017 08:49:18 +0000 Subject: MISRA-related changes. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10083 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/oslib/include/chheap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'os/common/oslib/include/chheap.h') 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 -- cgit v1.2.3