ip_pipeline: fix build error for 32 bit gcc target
PATCH 1/1 ip_pipeline: fix build error for 32 bit gcc target
error log:ip_pipeline/pipeline/pipeline_routing_be.c:1537: integer constant is too large for 'long' type compilation terminated due to -Wfatal-errors
--- examples/ip_pipeline/pipeline/pipeline_routing_be.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
examples/ip_pipeline/pipeline/pipeline_routing_be.c +1 -1
@@ -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
Signature · 1 line
2.5.5
Quoted 8 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Jasvinder Singh
Sent: Friday, April 08, 2016 6:13 PM
To: [email protected]
Subject: [dpdk-dev] [PATCH]ip_pipeline: fix build error for 32 bit gcc target
Quoted 8 lines
error log:
ip_pipeline/pipeline/pipeline_routing_be.c:1537: integer constant is too large for 'long' type compilation terminated due to -Wfatal-errorsFixes 0ae7275810f1 ("examples/ip_pipeline: add more functions to routingpipeline")
Signed-off-by Jasvinder Singh <[email protected]>
Quoted 7 lines
-----Original Message-----
From: dev [mailto:[email protected]] On Behalf Of Jasvinder Singh
Sent: Friday, April 8, 2016 6:13 PM
To: [email protected]
Subject: [dpdk-dev] [PATCH]ip_pipeline: fix build error for 32 bit gcc target
Quoted 8 lines
error log:
ip_pipeline/pipeline/pipeline_routing_be.c:1537: integer constant is too large for 'long' type compilation terminated due to -Wfatal-errorsFixes 0ae7275810f1 ("examples/ip_pipeline: add more functions to routingpipeline")
Signed-off-by Jasvinder Singh <[email protected]>
Thomas Monjalon
AppliedQuoted 10 lines
Quoted 8 lines
error log:
ip_pipeline/pipeline/pipeline_routing_be.c:1537: integer constant is too large for 'long' type compilation terminated due to -Wfatal-errorsFixes 0ae7275810f1 ("examples/ip_pipeline: add more functions to routingpipeline")
Signed-off-by Jasvinder Singh <[email protected]>Acked-by Pablo de Lara <[email protected]>
Applied, thanks