Commit 67fa3c7e authored by David S. Miller's avatar David S. Miller

[IPV6]: Kill 64-bit warnings in ndisc.c

parent 0f052693
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment