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>
This commit is contained in:
parent
687707d0b8
commit
c353b3622b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user