processes plugin: fix 3 compiler warnings on OS X
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 14 Aug 2016 19:10:49 +0000 (21:10 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 14 Aug 2016 19:10:49 +0000 (21:10 +0200)
commit4d1136a79358170b5881417409f2750964b2ba91
treecb4af28478cfd7fa36e67a94ec1bdd643fa10842
parent6120d0461a933cdbb8a6e495c6b6e8750c8aaf05
processes plugin: fix 3 compiler warnings on OS X

processes.c:1569:26: warning: comparison of integers of different signs: 'int' and 'mach_msg_type_number_t' (aka 'unsigned int') [-Wsign-compare]
        for (int pset = 0; pset < pset_list_len; pset++)
                           ~~~~ ^ ~~~~~~~~~~~~~
processes.c:1590:27: warning: comparison of integers of different signs: 'int' and 'mach_msg_type_number_t' (aka 'unsigned int') [-Wsign-compare]
                for (int task = 0; task < task_list_len; task++)
                                   ~~~~ ^ ~~~~~~~~~~~~~
processes.c:1688:32: warning: comparison of integers of different signs: 'int' and 'mach_msg_type_number_t' (aka 'unsigned int') [-Wsign-compare]
                        for (int thread = 0; thread < thread_list_len; thread++)
                                             ~~~~~~ ^ ~~~~~~~~~~~~~~~
src/processes.c