voron

experimental ARM OS
git clone git://git.2f30.org/voron.git
Log | Files | Refs | LICENSE

commit 20ea72c03e2397a96b7df70f0b708275384f4ce6
parent d1bdc6c0d2c7fafc7a076ba65a6e381f7bafb776
Author: oblique <psyberbits@gmail.com>
Date:   Thu Nov  1 00:02:34 +0200

put parentheses arround arr in ARRAY_SIZE

Diffstat:
include/kernel.h | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/kernel.h b/include/kernel.h @@ -20,6 +20,6 @@ (type*)((uintptr_t)__mptr - offsetof(type, member)); \ }) -#define ARRAY_SIZE(arr) (sizeof(arr)/sizeof(arr[0])) +#define ARRAY_SIZE(arr) (sizeof(arr)/sizeof((arr)[0])) #endif /* __KERNEL_H */