Skip to content
Commit a1bfaa90 authored by Flavio Ceolin's avatar Flavio Ceolin Committed by Kumar Gala
Browse files

drivers: counter: stm32: Fix possible overflow



Cast ts to u32_t could cause an overflow in that multiplication, since
time_t is 8 bytes it is not necessary to cast the multiplication's
result too.

Signed-off-by: default avatarFlavio Ceolin <flavio.ceolin@intel.com>
parent 1a27de0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment