From d75d0ee48cfe84a31f67730771dc73b98eb51279 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Sat, 6 Sep 2014 04:05:54 +0200 Subject: [PATCH] ( ) around macro arguments.. --- include/ucore/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/ucore/utils.h b/include/ucore/utils.h index 4a3e199..44511ff 100644 --- a/include/ucore/utils.h +++ b/include/ucore/utils.h @@ -103,7 +103,7 @@ const typeof( ((const type *)0)->member ) *__mptr = (ptr); \ * @param y denominator * @return x rounded up to nearest multiple of y */ -#define UC_ROUND_UP(x, y) (UC_DIV_ROUND_UP(x, y) * (y)) +#define UC_ROUND_UP(x, y) (UC_DIV_ROUND_UP((x), (y)) * (y)) /** * Round x down to nearest multiple of y