netlink plugin: fix build warnings
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 23 May 2018 13:38:26 +0000 (15:38 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 23 May 2018 13:38:26 +0000 (15:38 +0200)
commitd81c51ba4e71e985ea73dde44fb5a7bf5adbf66a
treee84e9c9b723de2029e2475f3b193b98d95b4355a
parent8b9848472b21506f2273166b53e32e4416f0ab7f
netlink plugin: fix build warnings

src/netlink.c:546:13: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
      if (r >= sizeof(type_instance)) {
          ~ ^  ~~~~~~~~~~~~~~~~~~~~~
src/netlink.c:585:13: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
      if (r >= sizeof(type_instance)) {
          ~ ^  ~~~~~~~~~~~~~~~~~~~~~
src/netlink.c