ifi_flags is unsigned, the local equivalents should do the same. Signed-off-by: Helmut Schaa <helmut.sc...@googlemail.com> ---
Otherwise the follow-up patch throws a warning during conmpilation. lib/netdev-linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/netdev-linux.c b/lib/netdev-linux.c index 68d476f..d0afaf6 100644 --- a/lib/netdev-linux.c +++ b/lib/netdev-linux.c @@ -2505,7 +2505,7 @@ update_flags(struct netdev_linux *netdev, enum netdev_flags off, enum netdev_flags on, enum netdev_flags *old_flagsp) OVS_REQUIRES(netdev->mutex) { - int old_flags, new_flags; + unsigned int old_flags, new_flags; int error = 0; old_flags = netdev->ifi_flags; -- 1.8.1.4 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev