aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlajoskatona <katonalala@gmail.com>2024-04-22 17:29:03 +0200
committerDamjan Marion <dmarion@0xa5.net>2024-05-14 07:52:19 +0000
commit9850d301b0dc87cadf05999cf210f1f7b731a327 (patch)
treeef7adfa6220aea12f3b1a589d6650ceb62e4d873
parent2e87d942abe499ea78ed282c1842ed314b1cd757 (diff)
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 <katonalala@gmail.com> Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
-rw-r--r--src/plugins/marvell/pp2/cli.c2
1 files changed, 1 insertions, 1 deletions
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))