Skip to content
Commit a341a71b authored by Yuval Peress's avatar Yuval Peress Committed by Carles Cufí
Browse files

math: Update ilog2_compile_time_const_u32 to wrap n with ()



This bug was found when passing a value along with '- 1' to the macro.

Signed-off-by: default avatarYuval Peress <peress@google.com>
parent d15f8e63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment