Skip to content
Commit e85b9315 authored by Nicolas Pitre's avatar Nicolas Pitre Committed by Anas Nashif
Browse files

ROUND_UP/DOWN macros: cast the entire align argument



Enclose the align argument in parents to make sure the cast applies to
the whole expression when expanded. This is especially important if the
argument contains a ternary operator.

Signed-off-by: default avatarNicolas Pitre <npitre@baylibre.com>
parent df0b49cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment