summaryrefslogtreecommitdiffstats
path: root/zebra/rtadv.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-10-07 20:29:24 +0000
committerhasso <hasso>2004-10-07 20:29:24 +0000
commit2cad11ad164e041432f4c8feee0a5fcaa7a4ff5c (patch)
tree95975ca20dcae4f2447c76b09a73406d84aaa86f /zebra/rtadv.c
parent2f8d6b9f814af2a89594740dc05773a1d5b84e67 (diff)
downloadquagga-2cad11ad164e041432f4c8feee0a5fcaa7a4ff5c.tar.bz2
quagga-2cad11ad164e041432f4c8feee0a5fcaa7a4ff5c.tar.xz
Fix warnings. Didn't even look at files not compiled in Linux though.
Diffstat (limited to 'zebra/rtadv.c')
-rw-r--r--zebra/rtadv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zebra/rtadv.c b/zebra/rtadv.c
index e5a026e6..cb29a67e 100644
--- a/zebra/rtadv.c
+++ b/zebra/rtadv.c
@@ -349,7 +349,7 @@ rtadv_process_advert ()
}
void
-rtadv_process_packet (u_char *buf, int len, unsigned int ifindex, int hoplimit)
+rtadv_process_packet (u_char *buf, unsigned int len, unsigned int ifindex, int hoplimit)
{
struct icmp6_hdr *icmph;
struct interface *ifp;
@@ -429,7 +429,7 @@ rtadv_read (struct thread *thread)
return len;
}
- rtadv_process_packet (buf, len, ifindex, hoplimit);
+ rtadv_process_packet (buf, (unsigned)len, ifindex, hoplimit);
return 0;
}