summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/bier/bier_test.c2
-rw-r--r--src/vnet/fib/fib_test.c4
-rw-r--r--src/vnet/fib/fib_test.h4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/vnet/bier/bier_test.c b/src/vnet/bier/bier_test.c
index 2c13abc2aea..08a8c55954d 100644
--- a/src/vnet/bier/bier_test.c
+++ b/src/vnet/bier/bier_test.c
@@ -158,7 +158,7 @@ bier_test_mk_intf (u32 ninterfaces)
static int
bier_test_validate_entry (index_t bei,
- u16 n_buckets,
+ int n_buckets,
...)
{
dpo_id_t dpo = DPO_INVALID;
diff --git a/src/vnet/fib/fib_test.c b/src/vnet/fib/fib_test.c
index 61b290b8b8f..2a30b3cd4cf 100644
--- a/src/vnet/fib/fib_test.c
+++ b/src/vnet/fib/fib_test.c
@@ -355,7 +355,7 @@ fib_test_validate_rep_v (const replicate_t *rep,
int
fib_test_validate_lb_v (const load_balance_t *lb,
- u16 n_buckets,
+ int n_buckets,
va_list *ap)
{
const dpo_id_t *dpo;
@@ -603,7 +603,7 @@ fib_test_validate_lb_v (const load_balance_t *lb,
int
fib_test_validate_lb (const dpo_id_t *dpo,
- u16 n_buckets,
+ int n_buckets,
...)
{
const load_balance_t *lb;
diff --git a/src/vnet/fib/fib_test.h b/src/vnet/fib/fib_test.h
index 53697cb62ae..0309b3f2311 100644
--- a/src/vnet/fib/fib_test.h
+++ b/src/vnet/fib/fib_test.h
@@ -118,11 +118,11 @@ extern int fib_test_validate_rep_v(const replicate_t *rep,
va_list *ap);
extern int fib_test_validate_lb_v(const load_balance_t *lb,
- u16 n_buckets,
+ int n_buckets,
va_list *ap);
extern int fib_test_validate_lb(const dpo_id_t *dpo,
- u16 n_buckets,
+ int n_buckets,
...);
extern int fib_test_validate_entry(fib_node_index_t fei,