summaryrefslogtreecommitdiffstats
path: root/tcpip/rip98d.h
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.h
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.h')
-rw-r--r--tcpip/rip98d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tcpip/rip98d.h b/tcpip/rip98d.h
index 8a7a417..20f09fc 100644
--- a/tcpip/rip98d.h
+++ b/tcpip/rip98d.h
@@ -49,7 +49,7 @@ extern int logging;
/* In rip98d.c */
extern unsigned int mask2bits(unsigned int);
-extern unsigned long int bits2mask(unsigned int);
+extern unsigned int bits2mask(unsigned int);
/* In rip98t.c */
extern void transmit_routes(int);