summaryrefslogtreecommitdiffstats
path: root/src/vnet/fib/fib_test.c
diff options
context:
space:
mode:
authorGabriel Ganne <gabriel.ganne@enea.com>2017-10-26 10:35:28 +0200
committerNeale Ranns <nranns@cisco.com>2017-10-26 15:40:55 +0000
commitd71e0fc2945d03ce628de979eca8ba8c82febf63 (patch)
treedf7d2b5efeed7b7879c51a118f1e4bffbafb5373 /src/vnet/fib/fib_test.c
parentdf58ea98f10ca0c83cba226f750e0e8d4061de97 (diff)
fib test - fix undefined behavior warning found by clang
warning: passing an object that undergoes default argument promotion to 'va_start' has undefined behavior [-Wvarargs] Change-Id: Ic9cfd61e38983bd67f30bf92f605e6c87d103ca5 Signed-off-by: Gabriel Ganne <gabriel.ganne@enea.com>
Diffstat (limited to 'src/vnet/fib/fib_test.c')
-rw-r--r--src/vnet/fib/fib_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/fib/fib_test.c b/src/vnet/fib/fib_test.c
index da517b0ceea..66a38236216 100644
--- a/src/vnet/fib/fib_test.c
+++ b/src/vnet/fib/fib_test.c
@@ -562,7 +562,7 @@ fib_test_validate_lb_v (const load_balance_t *lb,
int
fib_test_validate_entry (fib_node_index_t fei,
fib_forward_chain_type_t fct,
- u16 n_buckets,
+ int n_buckets,
...)
{
dpo_id_t dpo = DPO_INVALID;