From: lajoskatona Date: Mon, 22 Apr 2024 15:29:03 +0000 (+0200) Subject: marvell: remove uses of uint X-Git-Tag: v24.10-rc0~11 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=9850d301b0dc87cadf05999cf210f1f7b731a327;p=vpp.git marvell: remove uses of uint This change changes all instances of `uint` to `unsigned int` to avoid use of the non-standard type. This fixes problems that some versions of GCC may have. For similar patch see: https://gerrit.fd.io/r/c/vpp/+/40762 Type: fix Change-Id: I0c666de788ac5b3c457e0a073e3e279f2fb99a4f Signed-off-by: lajoskatona Signed-off-by: Dave Wallace --- diff --git a/src/plugins/marvell/pp2/cli.c b/src/plugins/marvell/pp2/cli.c index f4ecb1873c9..5072a3c035b 100644 --- a/src/plugins/marvell/pp2/cli.c +++ b/src/plugins/marvell/pp2/cli.c @@ -31,7 +31,7 @@ mrvl_pp2_create_command_fn (vlib_main_t * vm, unformat_input_t * input, { unformat_input_t _line_input, *line_input = &_line_input; mrvl_pp2_create_if_args_t args = { 0 }; - uint val; + unsigned int val; /* Get a line of input. */ if (!unformat_user (input, unformat_line_input, line_input))