From dc615514c9bcc1895d7d2082fce7d3add084c90c Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Thu, 3 Aug 2017 04:17:50 +0200 Subject: rip98r: Use unsigned int to store IPv4 addresses and masks. Unsigned long is wasteful on 64 bit. Signed-off-by: Ralf Baechle --- tcpip/rip98r.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tcpip') diff --git a/tcpip/rip98r.c b/tcpip/rip98r.c index 8332944..2993666 100644 --- a/tcpip/rip98r.c +++ b/tcpip/rip98r.c @@ -23,8 +23,8 @@ static int cmp_route(struct route_struct *route, struct in_addr addr, int bits, int metric) { - unsigned long int old_mask, new_mask; - unsigned long int old_addr, new_addr; + unsigned int old_mask, new_mask; + unsigned int old_addr, new_addr; old_mask = bits2mask(route->bits); new_mask = bits2mask(bits); -- cgit v1.2.3