(gethostbyaddr): Likewise.
authordrepper <drepper>
Sun, 30 Apr 2000 04:15:40 +0000 (04:15 +0000)
committerdrepper <drepper>
Sun, 30 Apr 2000 04:15:40 +0000 (04:15 +0000)
resolv/gethnamaddr.c

index 5808d92..c0e2f70 100644 (file)
@@ -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;