mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-21 17:51:17 +00:00
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>
This commit is contained in:
parent
e3c5f7b689
commit
9fc8a332b1
@ -116,8 +116,8 @@ static void check_lookup_result(struct list *list, va_list arglist)
|
|||||||
assert(prefix_count == listcount(list));
|
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;
|
va_list arglist;
|
||||||
struct list *list = list_new();
|
struct list *list = list_new();
|
||||||
|
Loading…
Reference in New Issue
Block a user