From: Adrien Mazarguil Date: Thu, 21 Dec 2017 12:59:57 +0000 (+0100) Subject: net/i40e: fix ISO C in exported header X-Git-Tag: spdx-start~264 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=12f98775745a3001f724d5e3904389e275a90773;p=dpdk.git 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 --- 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 }; /**