summaryrefslogtreecommitdiffstats
path: root/tests/ecommunity_test.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2015-04-23 13:31:17 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2015-04-23 13:36:08 +0200
commitdc684eb9976f8a1170312be42d142effce26b568 (patch)
tree1d1354118bc0b063e7048c86154339aa2f141d1c /tests/ecommunity_test.c
parent06bd420d4646333bc7ed9964e348f19a942fcfe2 (diff)
parente691c3bb972c0baf610d9e210ce20ea6546e1de0 (diff)
downloadquagga-dc684eb9976f8a1170312be42d142effce26b568.tar.bz2
quagga-dc684eb9976f8a1170312be42d142effce26b568.tar.xz
Merge branch 'volatile/fix_warnings'
Thanks to Donald Sharp and Greg Troxel for providing feedback! Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/ecommunity_test.c')
-rw-r--r--tests/ecommunity_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ecommunity_test.c b/tests/ecommunity_test.c
index cd1681d5..f12aa71c 100644
--- a/tests/ecommunity_test.c
+++ b/tests/ecommunity_test.c
@@ -132,7 +132,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));