summaryrefslogtreecommitdiff
path: root/inet/inet_netof.c
diff options
context:
space:
mode:
Diffstat (limited to 'inet/inet_netof.c')
-rw-r--r--inet/inet_netof.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/inet/inet_netof.c b/inet/inet_netof.c
index ef6281d29f..22b91920b5 100644
--- a/inet/inet_netof.c
+++ b/inet/inet_netof.c
@@ -38,7 +38,7 @@
in_addr_t
inet_netof (struct in_addr in)
{
- u_int32_t i = ntohl(in.s_addr);
+ uint32_t i = ntohl(in.s_addr);
if (IN_CLASSA(i))
return (((i)&IN_CLASSA_NET) >> IN_CLASSA_NSHIFT);