It fixes compile issue on ICC 13.0.0. Error logs: app/test-pmd/cmdline.c(8160): error #188: enumerated type mixed with another type entry.input.flow.tunnel_flow.tunnel_type =
Signed-off-by: Helin Zhang <helin.zhang at intel.com> --- app/test-pmd/cmdline.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c index c637198..38cf923 100644 --- a/app/test-pmd/cmdline.c +++ b/app/test-pmd/cmdline.c @@ -8158,7 +8158,7 @@ cmd_flow_director_filter_parsed(void *parsed_result, &res->mac_addr, sizeof(struct ether_addr)); entry.input.flow.tunnel_flow.tunnel_type = - str2fdir_tunneltype(res->tunnel_type); + (enum rte_eth_fdir_tunnel_type)str2fdir_tunneltype(res->tunnel_type); entry.input.flow.tunnel_flow.tunnel_id = rte_cpu_to_be_32(res->tunnel_id_value); } -- 1.8.1.4