diff options
author | hasso <hasso> | 2004-09-26 16:24:14 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-09-26 16:24:14 +0000 |
commit | 3c2ac32f66002f22daa39d35191418b21a21c237 (patch) | |
tree | 0f2883fab99db0e94be90009f27494c282cb0d8b /isisd/isis_adjacency.c | |
parent | ede78a7ac747f8ba561b621c680eae76c4d5561e (diff) | |
download | quagga-3c2ac32f66002f22daa39d35191418b21a21c237.tar.bz2 quagga-3c2ac32f66002f22daa39d35191418b21a21c237.tar.xz |
Compiler warnings fixes.
Diffstat (limited to 'isisd/isis_adjacency.c')
-rw-r--r-- | isisd/isis_adjacency.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/isisd/isis_adjacency.c b/isisd/isis_adjacency.c index 3770ebde..beba0d95 100644 --- a/isisd/isis_adjacency.c +++ b/isisd/isis_adjacency.c @@ -263,7 +263,7 @@ isis_adj_print (struct isis_adjacency *adj) for (node = listhead (adj->ipv6_addrs); node; nextnode (node)) { ipv6_addr = getdata (node); - inet_ntop (AF_INET6, ipv6_addr, ip6, INET6_ADDRSTRLEN); + inet_ntop (AF_INET6, ipv6_addr, (char *)ip6, INET6_ADDRSTRLEN); zlog_info ("%s", ip6); } } @@ -413,7 +413,7 @@ isis_adj_print_vty2 (struct isis_adjacency *adj, struct vty *vty, char detail) for (node = listhead (adj->ipv6_addrs); node; nextnode (node)) { ipv6_addr = getdata (node); - inet_ntop (AF_INET6, ipv6_addr, ip6, INET6_ADDRSTRLEN); + inet_ntop (AF_INET6, ipv6_addr, (char *)ip6, INET6_ADDRSTRLEN); vty_out (vty, " %s%s", ip6, VTY_NEWLINE); } } |