From 875cc7a37dc6b3fb9d29473d6c70f23160887ee9 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 1 Aug 2017 03:00:05 +0200 Subject: rip98d: Change bits2mask's return value from unsigned long to unsigned int. An IPv4 mask fit 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 eb4a528..f98be6f 100644 --- a/tcpip/rip98d.c +++ b/tcpip/rip98d.c @@ -99,7 +99,7 @@ unsigned int mask2bits(unsigned int mask) return 0; } -unsigned long int bits2mask(unsigned int bits) +unsigned int bits2mask(unsigned int bits) { struct mask_struct *t; -- cgit v1.2.3