2004-06-04 Paul Jakma <paul@dishone.st>
* type mismatch fixes
diff --git a/bgpd/bgp_mplsvpn.c b/bgpd/bgp_mplsvpn.c
index e820cab..90219cf 100644
--- a/bgpd/bgp_mplsvpn.c
+++ b/bgpd/bgp_mplsvpn.c
@@ -180,13 +180,13 @@
}
int
-str2prefix_rd (u_char *str, struct prefix_rd *prd)
+str2prefix_rd (char *str, struct prefix_rd *prd)
{
int ret;
- u_char *p;
- u_char *p2;
+ char *p;
+ char *p2;
struct stream *s;
- u_char *half;
+ char *half;
struct in_addr addr;
s = stream_new (8);
@@ -236,7 +236,7 @@
}
int
-str2tag (u_char *str, u_char *tag)
+str2tag (char *str, u_char *tag)
{
u_int32_t l;