From 1b411143e517b2f7baec66e8ffbffb3ded1dd04c Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 8 Nov 2007 20:30:17 +0000 Subject: [PATCH] Got rid of a compiler warning. --- lib/getaddrinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/getaddrinfo.c b/lib/getaddrinfo.c index 838e7086..0261f788 100644 --- a/lib/getaddrinfo.c +++ b/lib/getaddrinfo.c @@ -113,7 +113,7 @@ static char *get_canon_name_from_addr(struct in_addr ip, int *perr) { return canon_name_from_hostent( - gethostbyaddr(&ip, sizeof(ip), AF_INET), + gethostbyaddr((void *)&ip, sizeof ip, AF_INET), perr); } -- 2.34.1