From: Donald Sharp Date: Tue, 7 Feb 2017 19:14:17 +0000 (-0500) Subject: tests: Fix warning in compile X-Git-Tag: frr-3.0-branchpoint~46^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=refs%2Fpull%2F180%2Fhead;p=mirror%2Ffrr.git tests: Fix warning in compile Fix bgp_mp_attr_test.c warning in compile on fedora 25 and clang. Signed-off-by: Donald Sharp --- diff --git a/tests/bgp_mp_attr_test.c b/tests/bgp_mp_attr_test.c index f7c2af4405..397612c315 100644 --- a/tests/bgp_mp_attr_test.c +++ b/tests/bgp_mp_attr_test.c @@ -709,7 +709,7 @@ parse_test (struct peer *peer, struct test_segment *t, int type) parse_ret = bgp_mp_unreach_parse (&attr_args, &nlri); if (!parse_ret) { - afi_t pkt_afi; + iana_afi_t pkt_afi; safi_t pkt_safi; /* Convert AFI, SAFI to internal values, check. */