aboutsummaryrefslogtreecommitdiff
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 5808d92..c0e2f70 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;