summaryrefslogtreecommitdiff
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
commitfce954f8de1456dd62d26b52902a4a352ef17a93 (patch)
tree3dee77fa141697940a9ff3203ea453e454e88d95 /zebra/rtadv.c
parent1cd80845dc5262ff7d3d38deb1921f0b8390f4df (diff)
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;
}