dpdkevents plugin: fix sign compare warnings
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 29 May 2018 09:29:52 +0000 (11:29 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Tue, 29 May 2018 09:32:06 +0000 (11:32 +0200)
commit6eb269f494c039f1ff94f4771ac7ebf9f2783cba
treef86f8f85218e436185c07cdb24820b73aad5dc48
parentc4aa1d3762ad3465a247a581a79a7c9be18bd421
dpdkevents plugin: fix sign compare warnings

src/dpdkevents.c: In function ‘dpdk_helper_link_status_get’:
src/dpdkevents.c:431:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
   for (int i = 0; i < ec->nb_ports; i++) {
                     ^
src/dpdkevents.c: In function ‘dpdk_events_link_status_dispatch’:
src/dpdkevents.c:500:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
   for (int i = 0; i < ec->nb_ports; i++) {
                     ^
src/dpdkevents.c