Skip to content
Commit 6dd86fdb authored by Keith Packard's avatar Keith Packard Committed by Carles Cufí
Browse files

drivers/ieee802154: Cast float abs param to int first



This case takes a float value and passes it to the integer abs function,
storing the result in an integer type variable. That looks like a possible
error to clang, so insert an explicit cast to int to make the compiler
happy.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
parent dbb1b87d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment