virt plugin: fix build warning
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 5 Mar 2017 17:43:15 +0000 (18:43 +0100)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sun, 5 Mar 2017 17:43:15 +0000 (18:43 +0100)
commita2c13aaeec9412ac4cb2aac1a2cd7e0f725f79e0
treefef53e6561d5a63df7fe9c6a5793af6475f67603
parent3e0dd5070e385b864c771902bfa4c6331c5710b4
virt plugin: fix build warning

CC       src/virt_la-virt.lo
src/virt.c:417:37: warning: comparison of integers of different signs: 'int' and 'unsigned long' [-Wsign-compare]
  if ((tag_index < 0) || (tag_index >= STATIC_ARRAY_SIZE(tags))) {
                          ~~~~~~~~~ ^  ~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
src/virt.c