ovs_stats plugin: fix compiler warning
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 20 Feb 2019 10:19:16 +0000 (11:19 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 20 Feb 2019 10:19:16 +0000 (11:19 +0100)
commit50ecbd76174f3668d7b76ac7116f432bf64f71bd
tree72a3df55407a4cf6284eed44b4f1ddb4efd6fc2d
parent587c9126c2cb5031ed1266651d26f6d704f509d5
ovs_stats plugin: fix compiler warning

src/ovs_stats.c:863:23: warning: comparison of integers of different signs: 'int' and 'size_t' (aka 'unsigned long') [-Wsign-compare]
    for (int i = 0; i < YAJL_GET_ARRAY(ifaces_list)->len; i++) {
                    ~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
src/ovs_stats.c