Skip to content
Commit 617154f9 authored by Pavel Vasilyev's avatar Pavel Vasilyev Committed by Anas Nashif
Browse files

Bluetooth: Mesh: Avoid undefined behavior when block_size_log is 0x20



Use ULL suffix to promote the type of the shift operand to uint64_t to
avoid undefined behavior when block_size_log is 32.

Coverity-CID: 316387, GitHub issue #58528

Signed-off-by: default avatarPavel Vasilyev <pavel.vasilyev@nordicsemi.no>
parent 395f250e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment