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: Andrey Chilikin <andrey.chili...@intel.com> Signed-off-by: Adrien Mazarguil <adrien.mazarg...@6wind.com> --- 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 580ca4ae9..49f4427a5 100644 --- a/drivers/net/i40e/rte_pmd_i40e.h +++ b/drivers/net/i40e/rte_pmd_i40e.h @@ -94,7 +94,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.11.0