From: Wayne Davison Date: Thu, 8 Nov 2007 20:30:17 +0000 (+0000) Subject: Got rid of a compiler warning. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/1b411143e517b2f7baec66e8ffbffb3ded1dd04c Got rid of a compiler warning. --- 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); }