( ) around macro arguments..

This commit is contained in:
Nils O. Selåsdal
2014-09-06 04:05:54 +02:00
parent e18317d507
commit d75d0ee48c
+1 -1
View File
@@ -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