aboutsummaryrefslogtreecommitdiff
path: root/resolv
diff options
context:
space:
mode:
Diffstat (limited to 'resolv')
-rw-r--r--resolv/inet_addr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/resolv/inet_addr.c b/resolv/inet_addr.c
index 01a38e6a00..bcf7f0d336 100644
--- a/resolv/inet_addr.c
+++ b/resolv/inet_addr.c
@@ -70,7 +70,7 @@ static char rcsid[] = "$Id$";
* Ascii internet address interpretation routine.
* The value returned is in network order.
*/
-u_long
+u_int32_t
inet_addr(cp)
register const char *cp;
{
@@ -93,7 +93,7 @@ inet_aton(cp, addr)
register const char *cp;
struct in_addr *addr;
{
- register u_long val;
+ register u_int32_t val;
register int base, n;
register char c;
u_int parts[4];