From d71e0fc2945d03ce628de979eca8ba8c82febf63 Mon Sep 17 00:00:00 2001 From: Gabriel Ganne Date: Thu, 26 Oct 2017 10:35:28 +0200 Subject: 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 --- src/vnet/mfib/mfib_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vnet/mfib') diff --git a/src/vnet/mfib/mfib_test.c b/src/vnet/mfib/mfib_test.c index 3ec00a74aa8..2cb663a5eb6 100644 --- a/src/vnet/mfib/mfib_test.c +++ b/src/vnet/mfib/mfib_test.c @@ -232,7 +232,7 @@ fib_forw_chain_type_from_fib_proto (fib_protocol_t proto) static int mfib_test_entry (fib_node_index_t fei, mfib_entry_flags_t eflags, - u16 n_buckets, + int n_buckets, ...) { const mfib_entry_t *mfe; -- cgit 1.2.3-korg