aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/bier
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-02-06 19:29:35 +0100
committerFlorin Coras <florin.coras@gmail.com>2018-02-06 20:16:42 +0000
commitbb17f3c2fc0c8163bdb08ad1e66ff4ac5898508f (patch)
tree147485bbf757a5f4a2824d0bd6766646273ca612 /src/vnet/bier
parent547ecf631e0d9a7f556cac6462e2e79d49a91a27 (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/bier')
-rw-r--r--src/vnet/bier/bier_test.c2
1 files changed, 1 insertions, 1 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;