examples/ip_pipeline: use unsigned constants for left shift operations
authorPanu Matilainen <pmatilai@redhat.com>
Thu, 10 Mar 2016 13:49:55 +0000 (15:49 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Sun, 13 Mar 2016 15:22:55 +0000 (16:22 +0100)
commite04f6a64f158a2163fc47000b19d33d20a23e299
tree943faef7be792bd16abd950f826450e80c8689e1
parent69a2f4dea74a2b532056e035618aead405e61af9
examples/ip_pipeline: use unsigned constants for left shift operations

Tell the compiler to use unsigned constants for left shift ops,
otherwise building with gcc >= 6.0 fails due to multiple warnings like:
warning: left shift of negative value [-Wshift-negative-value]

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
Acked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
examples/ip_pipeline/pipeline/pipeline_common_fe.c
examples/ip_pipeline/pipeline/pipeline_firewall.c
examples/ip_pipeline/pipeline/pipeline_routing.c