summaryrefslogtreecommitdiffstats
path: root/tcpip/rip98d.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2017-08-01 03:00:05 +0200
committerRalf Baechle <ralf@linux-mips.org>2017-08-01 03:01:40 +0200
commit875cc7a37dc6b3fb9d29473d6c70f23160887ee9 (patch)
treee0fcf51557fc1383908ca3e1849f413c74117f4a /tcpip/rip98d.c
parent15822c621c1d6b0e0b36e1ac020914cb9d438b1c (diff)
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 <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 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;