Skip to content
Commit b8bff65f authored by Rubin Gerritsen's avatar Rubin Gerritsen Committed by Benjamin Cabé
Browse files

include: common: sys_bitops: Specify sign when bitshifting



When left-shifting '1' by 31, the result is undefined. This is
something ASAN detects.

Solve this by explicitly defining that the integer is unsigned.

Signed-off-by: default avatarRubin Gerritsen <rubin.gerritsen@nordicsemi.no>
parent e0a915a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment