2004-06-04 Paul Jakma <paul@dishone.st>
* type mismatch fixes
diff --git a/bgpd/bgp_community.c b/bgpd/bgp_community.c
index 83b1cc5..5467971 100644
--- a/bgpd/bgp_community.c
+++ b/bgpd/bgp_community.c
@@ -338,7 +338,7 @@
/* Create new community attribute. */
struct community *
-community_parse (char *pnt, u_short length)
+community_parse (u_int32_t *pnt, u_short length)
{
struct community tmp;
struct community *new;
@@ -349,7 +349,7 @@
/* Make temporary community for hash look up. */
tmp.size = length / 4;
- tmp.val = (u_int32_t *) pnt;
+ tmp.val = pnt;
new = community_uniq_sort (&tmp);