Skip to content
Commit 64ce567f authored by Trung Hieu Le's avatar Trung Hieu Le Committed by Anas Nashif
Browse files

include: zephyr: sys: util: Add type check for macro DIV_ROUND_CLOSEST



Add type check to avoid comparing unsigned values with 0 which is always
true or false and can cause coverity issue.

Signed-off-by: default avatarTrung Hieu Le <trunghieu.le@nxp.com>
parent 27227c50
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment