diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-07-13 07:26:32 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-07-25 14:50:29 -0400 |
| commit | 9fc8a332b10b7ef14ffbadb167dcffdafcc8174f (patch) | |
| tree | b67f62bb370190ea92a8708ab38e492f42c69f19 | |
| parent | e3c5f7b6890a5c78f1ab3355e2215583d965658c (diff) | |
tests: Prevent weird type promotion objection in bgp tests
The va_start function cannot take a object that can be type promoted
Looks like a new warning coming in from a new compiler.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
| -rw-r--r-- | tests/bgpd/test_bgp_table.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/bgpd/test_bgp_table.c b/tests/bgpd/test_bgp_table.c index 01ce7480d7..a0382827b9 100644 --- a/tests/bgpd/test_bgp_table.c +++ b/tests/bgpd/test_bgp_table.c @@ -116,8 +116,8 @@ static void check_lookup_result(struct list *list, va_list arglist) assert(prefix_count == listcount(list)); } -static void do_test(struct bgp_table *table, const char *prefix, uint8_t maxlen, - ...) +static void do_test(struct bgp_table *table, const char *prefix, + uint32_t maxlen, ...) { va_list arglist; struct list *list = list_new(); |
