( ) around macro arguments..
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user