Skip to content
Commit f32b94c4 authored by Maksim Masalski's avatar Maksim Masalski Committed by Andrew Boie
Browse files

can: cast value 1U to type u64_t in function can_stm32_set_filter



Potentially overflowing expression 1U << register_demand
I changed to (u64_t)1U << register_demand
To avoid overflow, I casted 1U to type u64_t.

Coverity-CID: 190996
Fixes: #13829
Signed-off-by: default avatarMaksim Masalski <maxxliferobot@gmail.com>
parent 7cbdb6c5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment