marvell: remove uses of uint 72/40772/3
authorlajoskatona <[email protected]>
Mon, 22 Apr 2024 15:29:03 +0000 (17:29 +0200)
committerDamjan Marion <[email protected]>
Tue, 14 May 2024 07:52:19 +0000 (07:52 +0000)
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 <[email protected]>
Signed-off-by: Dave Wallace <[email protected]>
src/plugins/marvell/pp2/cli.c

index f4ecb18..5072a3c 100644 (file)
@@ -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))