From 12f98775745a3001f724d5e3904389e275a90773 Mon Sep 17 00:00:00 2001 From: Adrien Mazarguil Date: Thu, 21 Dec 2017 13:59:57 +0100 Subject: [PATCH] net/i40e: fix ISO C in exported header Reported by check-includes.sh: [...]/rte_pmd_i40e.h:97:30: error: ISO C restricts enumerator values to range of `int' [-Werror=pedantic] RTE_PMD_I40E_PKG_INFO_MAX = 0xFFFFFFFF ^ Fixes: edeab742edac ("net/i40e: get information about DDP profile") Cc: stable@dpdk.org Signed-off-by: Adrien Mazarguil Acked-by: Beilei Xing --- drivers/net/i40e/rte_pmd_i40e.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/rte_pmd_i40e.h b/drivers/net/i40e/rte_pmd_i40e.h index 1bdb68a28e..cfdcae7e5d 100644 --- a/drivers/net/i40e/rte_pmd_i40e.h +++ b/drivers/net/i40e/rte_pmd_i40e.h @@ -66,7 +66,7 @@ enum rte_pmd_i40e_package_info { RTE_PMD_I40E_PKG_INFO_PCTYPE_LIST, RTE_PMD_I40E_PKG_INFO_PTYPE_NUM, RTE_PMD_I40E_PKG_INFO_PTYPE_LIST, - RTE_PMD_I40E_PKG_INFO_MAX = 0xFFFFFFFF + RTE_PMD_I40E_PKG_INFO_MAX = (int)0xFFFFFFFF }; /** -- 2.20.1