Skip to content
Commit 10bb71e5 authored by Mikkel Jakobsen's avatar Mikkel Jakobsen Committed by Benjamin Cabé
Browse files

drivers: fuel_gauge: fix integer comparison in api functions



In the fuel_gauge_get_props and fuel_gauge_set_props functions, an array
len is passed as a size_t but compared against an int, which leads to
C++ compiler warnings when using -Werror=sign-compare. The fix is to use
a size_t for the loop counter.

Signed-off-by: default avatarMikkel Jakobsen <mikkel.aunsbjerg@escolifesciences.com>
parent be5d44eb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment