Messages in this thread | | | Subject | Re: [PATCH 1/1 net-next] ipx: replace long unsigned int by unsigned long | From | Joe Perches <> | Date | Mon, 27 Oct 2014 11:22:11 -0700 |
| |
On Mon, 2014-10-27 at 19:05 +0100, Fabian Frederick wrote: > Use standard unsigned long. [] > diff --git a/net/ipx/ipx_proc.c b/net/ipx/ipx_proc.c [] > @@ -90,7 +90,7 @@ static int ipx_seq_route_show(struct seq_file *seq, void *v) > seq_printf(seq, "%08lX ", (unsigned long int)ntohl(rt->ir_net)); > if (rt->ir_routed) > seq_printf(seq, "%08lX %02X%02X%02X%02X%02X%02X\n", > - (long unsigned int)ntohl(rt->ir_intrfc->if_netnum), > + (unsigned long)ntohl(rt->ir_intrfc->if_netnum),
Maybe better to use no cast at all
seq_printf(seq, "%08X %02X%02X%02X%02X%02X%02X\n", ntohl(etc...),
| |