Skip to content
Commit dde9e483 authored by Tahsin Mutlugun's avatar Tahsin Mutlugun Committed by Henrik Brix Andersen
Browse files

drivers: counter: maxim_ds3231: Fix coverity errors



Casting 64-bit time_t values into 32-bit unsigned integers causes
CWE-197 violations. Explicitly truncate these values by masking
time_t to avoid these warnings.

Signed-off-by: default avatarTahsin Mutlugun <Tahsin.Mutlugun@analog.com>
parent 0e532d89
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment