From 5228ad27e2f3abe0ebb69f66607aedc048b94a13 Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 4 Jun 2004 17:58:18 +0000 Subject: 2004-06-04 Paul Jakma * type mismatch fixes --- bgpd/bgp_community.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bgpd/bgp_community.c') 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); -- cgit v1.2.1