tests: fix warnings
While I don't see -Werror being used on tests anytime soon, there's no
reason to keep the warnings in tests unfixed.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
diff --git a/tests/bgp_mpath_test.c b/tests/bgp_mpath_test.c
index 3d0ecb7..3594753 100644
--- a/tests/bgp_mpath_test.c
+++ b/tests/bgp_mpath_test.c
@@ -252,7 +252,7 @@
bgp_mp_list_add (&mp_list, &test_mp_list_info[3]);
bgp_mp_list_add (&mp_list, &test_mp_list_info[0]);
- for (i = 0, mp_node = listhead(&mp_list); i < test_mp_list_info_count;
+ for (i = 0, mp_node = mp_list.head; i < test_mp_list_info_count;
i++, mp_node = listnextnode(mp_node))
{
info = listgetdata(mp_node);