Skip to content
Commit 5bec53b7 authored by Renato Soma's avatar Renato Soma Committed by Anas Nashif
Browse files

drivers: sensor: tmag5273: cast value to int64_t



Cast val1 from sensor_value before multiplication in order to avoid
integer overflow, as indicated by Coverity CID 347136.

Signed-off-by: default avatarRenato Soma <renatoys08@gmail.com>
parent 0fb8506a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment