numam-dpdk/examples/netmap_compat
Olivier Matz d50f463fbe examples/netmap_compat: fix overflow in ioctl operation
Compiling the netmap example with clang-3.5 triggered the following
warning:

  compat_netmap.c:783:11: error: overflow converting case value to
    switch condition type (3225184658 to 18446744072639768978)
    [-Werror,-Wswitch]
              case NIOCREGIF:
                 ^
Indeed, an ioctl value should be an unsigned 32 bits, not an int.

Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
2014-12-18 00:26:08 +01:00
..
bridge examples: use factorized default Rx/Tx configuration 2014-10-10 13:01:49 +02:00
lib examples/netmap_compat: fix overflow in ioctl operation 2014-12-18 00:26:08 +01:00
netmap remove trailing whitespaces 2014-06-11 00:29:34 +02:00
Makefile examples/netmap_compat: add default build target 2014-10-09 20:02:35 +02:00