error log:
ip_pipeline/pipeline/pipeline_routing_be.c:1537: integer constant is
too large for 'long' type compilation terminated due to -Wfatal-errors

Fixes: 0ae7275810f1 ("examples/ip_pipeline: add more functions to routing 
pipeline")

Signed-off-by: Jasvinder Singh <jasvinder.singh at intel.com>
---
 examples/ip_pipeline/pipeline/pipeline_routing_be.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.5.5

Reply via email to