( ) around macro arguments..

This commit is contained in:
Nils O. Selåsdal
2014-09-06 04:05:54 +02:00
parent 7eb42cc538
commit 9b3c1e370b
+1 -1
View File
@@ -103,7 +103,7 @@ const typeof( ((const type *)0)->member ) *__mptr = (ptr); \
* @param y denominator * @param y denominator
* @return x rounded up to nearest multiple of y * @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 * Round x down to nearest multiple of y