aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEric Sun <esun@meraki.com>2021-07-21 15:28:47 -0700
committerDamjan Marion <dmarion@0xa5.net>2024-05-06 11:54:44 +0000
commitc353b3622bd25e51b650fed3b31d1897235ca573 (patch)
treeb9b4fbaae7f344db4d6468aba58945fe24f4d51a /src
parent687707d0b8659765c27a18a749299d8ad31be234 (diff)
tests: 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. Type: fix Signed-off-by: Pierre Pfister <ppfister@cisco.com> Change-Id: I08cce367c2a8f31efb2fccabcb8f699d801b0f8a Signed-off-by: Eric Sun <esun@meraki.com>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/unittest/policer_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/unittest/policer_test.c b/src/plugins/unittest/policer_test.c
index 2b14bf687bf..41f769960a3 100644
--- a/src/plugins/unittest/policer_test.c
+++ b/src/plugins/unittest/policer_test.c
@@ -21,7 +21,7 @@ policer_test (vlib_main_t *vm, unformat_input_t *input,
vlib_cli_command_t *cmd_arg)
{
int policer_index, i;
- uint rate_kbps, burst, num_pkts;
+ unsigned int rate_kbps, burst, num_pkts;
double total_bytes, cpu_ticks_per_pkt, time = 0;
double cpu_speed, cpu_ticks_per_byte;
policer_result_e result, input_colour = POLICE_CONFORM;