From fce954f8de1456dd62d26b52902a4a352ef17a93 Mon Sep 17 00:00:00 2001 From: hasso Date: Thu, 7 Oct 2004 20:29:24 +0000 Subject: Fix warnings. Didn't even look at files not compiled in Linux though. --- zebra/rtadv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zebra/rtadv.c') 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; } -- cgit v1.2.1