about summary refs log tree commit diff
path: root/resolv/gethnamaddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'resolv/gethnamaddr.c')
-rw-r--r--resolv/gethnamaddr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/resolv/gethnamaddr.c b/resolv/gethnamaddr.c
index 5808d92d7b..c0e2f703df 100644
--- a/resolv/gethnamaddr.c
+++ b/resolv/gethnamaddr.c
@@ -624,8 +624,8 @@ gethostbyname2(name, af)
 
 struct hostent *
 gethostbyaddr(addr, len, af)
-	const char *addr;	/* XXX should have been def'd as u_char! */
-	size_t len;
+	const void *addr;
+	socklen_t len;
 	int af;
 {
 	const u_char *uaddr = (const u_char *)addr;