diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2015-04-21 10:02:23 +0200 |
---|---|---|
committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-05-26 17:33:29 +0200 |
commit | 9fc3f9b382e354fcdcd9e8cc202ab2c576d1b162 (patch) | |
tree | c4933bcbf824d723d85040d74cf6c6e2ef23ea92 /tests/ecommunity_test.c | |
parent | zebra: silence zebra_serv_un unused warning (diff) | |
download | frr-9fc3f9b382e354fcdcd9e8cc202ab2c576d1b162.tar.xz frr-9fc3f9b382e354fcdcd9e8cc202ab2c576d1b162.zip |
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>
(cherry picked from commit c313895dec3c176584d99f7b8684ddc3f9141d88)
Diffstat (limited to 'tests/ecommunity_test.c')
-rw-r--r-- | tests/ecommunity_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ecommunity_test.c b/tests/ecommunity_test.c index 604a83bd8..1d4f6a186 100644 --- a/tests/ecommunity_test.c +++ b/tests/ecommunity_test.c @@ -133,7 +133,7 @@ parse_test (struct test_segment *t) printf ("%s: %s\n", t->name, t->desc); - ecom = ecommunity_parse (t->data, t->len); + ecom = ecommunity_parse ((u_int8_t *)t->data, t->len); printf ("ecom: %s\nvalidating...:\n", ecommunity_str (ecom)); |