diff options
author | paul <paul> | 2004-06-04 17:58:18 +0000 |
---|---|---|
committer | paul <paul> | 2004-06-04 17:58:18 +0000 |
commit | 5228ad27e2f3abe0ebb69f66607aedc048b94a13 (patch) | |
tree | a65817a03150dbfeb56a1eaceab526f31be1cc1d /bgpd/bgp_community.c | |
parent | c2bfbcc38428b53e856617e1da8bbe9f8d2ee2fa (diff) |
2004-06-04 Paul Jakma <paul@dishone.st>
* type mismatch fixes
Diffstat (limited to 'bgpd/bgp_community.c')
-rw-r--r-- | bgpd/bgp_community.c | 4 |
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); |