diff options
author | Damjan Marion <damarion@cisco.com> | 2018-02-06 19:29:35 +0100 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2018-02-06 20:16:42 +0000 |
commit | bb17f3c2fc0c8163bdb08ad1e66ff4ac5898508f (patch) | |
tree | 147485bbf757a5f4a2824d0bd6766646273ca612 /src/vnet/fib/fib_test.h | |
parent | 547ecf631e0d9a7f556cac6462e2e79d49a91a27 (diff) |
Fix clang -Wvarargs compile errors
error: passing an object that undergoes default argument promotion to
'va_start' has undefined behavior [-Werror,-Wvarargs]
Change-Id: Id342beea916ec73e29e399087532caecfa19055f
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/fib/fib_test.h')
-rw-r--r-- | src/vnet/fib/fib_test.h | 4 |
1 files changed, 2 insertions, 2 deletions
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, |