Code

cpu plugin: fix compiler warning on OS X
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 14 Aug 2016 18:53:33 +0000 (20:53 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 14 Aug 2016 18:54:49 +0000 (20:54 +0200)
commit03c308c99caa9e5d088487fcda27cc756ffd6b1c
treebc59799b908288fca1970ebb57374e0744124ca5
parent2e80174b4aa0b983c193453b1062677a0d28188c
cpu plugin: fix compiler warning on OS X

cpu.c:593:24: warning: comparison of integers of different signs: 'int' and 'mach_msg_type_number_t' (aka 'unsigned int') [-Wsign-compare]
        for (int cpu = 0; cpu < cpu_list_len; cpu++)
                          ~~~ ^ ~~~~~~~~~~~~
src/cpu.c