From 15822c621c1d6b0e0b36e1ac020914cb9d438b1c Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 1 Aug 2017 02:18:36 +0200 Subject: rip98d: Change mask2bits's argument from unsigned long to unsigned int. An IPv4 address or mask fits into an unsigned int. Signed-off-by: Ralf Baechle --- tcpip/rip98d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tcpip/rip98d.c') diff --git a/tcpip/rip98d.c b/tcpip/rip98d.c index c0543d0..eb4a528 100644 --- a/tcpip/rip98d.c +++ b/tcpip/rip98d.c @@ -88,7 +88,7 @@ static void terminate(int sig) exit(0); } -unsigned int mask2bits(unsigned long int mask) +unsigned int mask2bits(unsigned int mask) { struct mask_struct *t; -- cgit v1.2.3