summaryrefslogtreecommitdiffstats
path: root/tcpip/rip98d.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-08-01 02:18:36 +0200
committerRalf Baechle <ralf@linux-mips.org>2017-08-01 02:34:25 +0200
commit15822c621c1d6b0e0b36e1ac020914cb9d438b1c (patch)
treeda87ed378bcccc4d866a47b85eec267e284b5f82 /tcpip/rip98d.c
parentdaba307035faf4cc01f1ccb883b21281d91234cc (diff)
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 <ralf@linux-mips.org>
Diffstat (limited to 'tcpip/rip98d.c')
-rw-r--r--tcpip/rip98d.c2
1 files changed, 1 insertions, 1 deletions
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;