author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 2 Dec 2016 13:53:40 +0000 (14:53 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 2 Dec 2016 13:53:40 +0000 (14:53 +0100) | ||
commit | 6ab19698c76f14696e606c5b1de22190d00ca903 | |
tree | 496688dffb7525e4a14c9e64f8c025215d6e023d | tree | snapshot |
parent | d6b4d8a4fce28d6c6bc689de582ebff525fa13dc | commit | diff |
battery_statefs: fix a few build warnings
battery_statefs.c:95:8: warning: initializing 'char *' with an expression of type 'const char [38]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{STATEFS_ROOT "Current", "current", NULL, 1e-6}, // from uA to A
^~~~~~~~~~~~~~~~~~~~~~
battery_statefs.c:95:8: warning: initializing 'char *' with an expression of type 'const char [38]' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
{STATEFS_ROOT "Current", "current", NULL, 1e-6}, // from uA to A
^~~~~~~~~~~~~~~~~~~~~~
src/battery_statefs.c | diff | blob | history |