ipmi plugin: fix sign compare warning
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 29 May 2018 09:25:10 +0000 (11:25 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 29 May 2018 09:25:10 +0000 (11:25 +0200)
commitc4aa1d3762ad3465a247a581a79a7c9be18bd421
tree588e37fc6e3f09e34999340aed612970df471ef7
parent990752086e35df7e47f46771e82a7e968b40c218
ipmi plugin: fix sign compare warning

  CC       src/ipmi_la-ipmi.lo
src/ipmi.c: In function ‘sensor_unit_to_type’:
src/ipmi.c:360:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare]
   for (int i = 0; i < STATIC_ARRAY_SIZE(ipmi_db_type_map); i++)
                     ^
src/ipmi.c