summaryrefslogtreecommitdiff
path: root/bgpd/bgp_community.c
diff options
context:
space:
mode:
Diffstat (limited to 'bgpd/bgp_community.c')
-rw-r--r--bgpd/bgp_community.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bgpd/bgp_community.c b/bgpd/bgp_community.c
index 83b1cc5e..54679710 100644
--- a/bgpd/bgp_community.c
+++ b/bgpd/bgp_community.c
@@ -338,7 +338,7 @@ community_unintern (struct community *com)
/* 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 @@ community_parse (char *pnt, u_short length)
/* 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);