summaryrefslogtreecommitdiffstats
path: root/zebra/rtadv.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-09-26 16:09:34 +0000
committerhasso <hasso>2004-09-26 16:09:34 +0000
commit052fe22a25dfb0cbc1a23cba5efdcda98f26a627 (patch)
treef1ac1aed444088f00d533834ab5993b3f081107c /zebra/rtadv.c
parent9c7534d2b2bdd5b4b6f7afa19fe4def45cd930f7 (diff)
downloadquagga-052fe22a25dfb0cbc1a23cba5efdcda98f26a627.tar.bz2
quagga-052fe22a25dfb0cbc1a23cba5efdcda98f26a627.tar.xz
Compiler warnings fixes.
Diffstat (limited to 'zebra/rtadv.c')
-rw-r--r--zebra/rtadv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/rtadv.c b/zebra/rtadv.c
index 4bab03bf..e5a026e6 100644
--- a/zebra/rtadv.c
+++ b/zebra/rtadv.c
@@ -1110,7 +1110,7 @@ rtadv_config_write (struct vty *vty, struct interface *ifp)
rprefix = getdata (node);
vty_out (vty, " ipv6 nd prefix %s/%d",
inet_ntop (AF_INET6, &rprefix->prefix.u.prefix6,
- buf, INET6_ADDRSTRLEN),
+ (char *) buf, INET6_ADDRSTRLEN),
rprefix->prefix.prefixlen);
if ((rprefix->AdvValidLifetime != RTADV_VALID_LIFETIME) ||
(rprefix->AdvPreferredLifetime != RTADV_PREFERRED_LIFETIME))