Commit dcbcfb3
authored
mac: region: RegionCommon: fix implicit double promotion (#1600)
The calculation is done with float variables. However, the floor
function is meant for double variables. floorf should be used instead.
The implicit double promotion leads to a warning/error if compiled with
LLVM.
Signed-off-by: Martin Jäger <martin@libre.solar>1 parent 99c2e53 commit dcbcfb3
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
463 | 463 | | |
464 | 464 | | |
465 | 465 | | |
466 | | - | |
| 466 | + | |
467 | 467 | | |
468 | 468 | | |
469 | 469 | | |
| |||
0 commit comments