app/testpmd: fix type of FEC mode parsing output
authorJie Zhou <jizh@linux.microsoft.com>
Tue, 29 Jun 2021 20:50:19 +0000 (13:50 -0700)
committerAndrew Rybchenko <Andrew.Rybchenko@oktetlabs.ru>
Fri, 2 Jul 2021 17:03:03 +0000 (19:03 +0200)
commitce0a4a1d5d5b9b2d20909cd518cbd08529fc2437
tree0086218d197c1b0688455412e452cf0947b59bfc
parentcdbbf1cee72afe96052b5c71490747ad32fa593c
app/testpmd: fix type of FEC mode parsing output

Passing an uint32_t pointer to an enum pointer parameter causes
pointer-sign warning on Windows (converts between pointers to
integer types with different sign), since enum is implicitly
converted to int on Windows.

And the current enum pointer parameter of that function is actually
misleading and should be fixed as an uint32_t pointer parameter.

Fixes: b19da32e3151 ("app/testpmd: add FEC command")
Cc: stable@dpdk.org
Signed-off-by: Jie Zhou <jizh@linux.microsoft.com>
Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
app/test-pmd/cmdline.c
app/test-pmd/config.c
app/test-pmd/testpmd.h