summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJasvinder Singh <jasvinder.singh@intel.com>2016-04-08 18:13:27 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2016-04-08 22:28:39 +0200
commit6736fe538128b35938fe499856a031626f16eeb1 (patch)
tree3f18931f04ffe0d5009a67d4ca6a411dc5b75cc6 /examples
parent662c54e668a39d58575c9a5197d1d1b78325f0f2 (diff)
downloaddpdk-6736fe538128b35938fe499856a031626f16eeb1.zip
dpdk-6736fe538128b35938fe499856a031626f16eeb1.tar.gz
dpdk-6736fe538128b35938fe499856a031626f16eeb1.tar.xz
examples/ip_pipeline: fix 32-bit build
error log: ip_pipeline/pipeline/pipeline_routing_be.c:1537: integer constant is too large for 'long' type Fixes: 0ae7275810f1 ("examples/ip_pipeline: add more functions to routing pipeline") Signed-off-by: Jasvinder Singh <jasvinder.singh@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: John McNamara <john.mcnamara@intel.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/ip_pipeline/pipeline/pipeline_routing_be.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/ip_pipeline/pipeline/pipeline_routing_be.c b/examples/ip_pipeline/pipeline/pipeline_routing_be.c
index 431c636..bc5bf7a 100644
--- a/examples/ip_pipeline/pipeline/pipeline_routing_be.c
+++ b/examples/ip_pipeline/pipeline/pipeline_routing_be.c
@@ -65,7 +65,7 @@
((((uint64_t) (pipe)) & 0xFFFFFFFF) << 32))
-#define MAC_SRC_DEFAULT 0x112233445566
+#define MAC_SRC_DEFAULT 0x112233445566ULL
#ifndef PIPELINE_ROUTING_LPM_TABLE_NUMBER_TABLE8s
#define PIPELINE_ROUTING_LPM_TABLE_NUMBER_TABLE8s 256