]> git.hungrycats.org Git - linux/commitdiff
[IPV6]: Kill 64-bit warnings in ndisc.c
authorDavid S. Miller <davem@nuts.davemloft.net>
Thu, 12 Feb 2004 04:05:24 +0000 (20:05 -0800)
committerDavid S. Miller <davem@nuts.davemloft.net>
Thu, 12 Feb 2004 04:05:24 +0000 (20:05 -0800)
net/ipv6/ndisc.c

index 96124dddde5666b0487318996d280caf860f1b27..45c356d6cb8035d6dd035095a16195b212982b97 100644 (file)
@@ -1024,7 +1024,7 @@ static void ndisc_router_discovery(struct sk_buff *skb)
         */
 
        if (in6_dev->nd_parms) {
-               __u32 rtime = ntohl(ra_msg->retrans_timer);
+               unsigned long rtime = ntohl(ra_msg->retrans_timer);
 
                if (rtime && rtime/1000 < MAX_SCHEDULE_TIMEOUT/HZ) {
                        rtime = (rtime*HZ)/1000;