doc: fix nics features matrix for ixgbe
[dpdk.git] / examples / ip_pipeline / pipeline / pipeline_firewall.c
index 3d7ea7a..320b25d 100644 (file)
@@ -256,10 +256,10 @@ app_pipeline_firewall_key_check_and_normalize(struct pipeline_firewall_key *key)
                        return -1;
 
                if (src_ip_depth)
-                       src_ip_netmask = (~0) << (32 - src_ip_depth);
+                       src_ip_netmask = (~0U) << (32 - src_ip_depth);
 
                if (dst_ip_depth)
-                       dst_ip_netmask = ((~0) << (32 - dst_ip_depth));
+                       dst_ip_netmask = ((~0U) << (32 - dst_ip_depth));
 
                key->key.ipv4_5tuple.src_ip &= src_ip_netmask;
                key->key.ipv4_5tuple.dst_ip &= dst_ip_netmask;