diff options
author | Wayne Davison <wayned@samba.org> | 2007-11-08 20:30:17 +0000 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2007-11-08 20:30:17 +0000 |
commit | 1b411143e517b2f7baec66e8ffbffb3ded1dd04c (patch) | |
tree | dffed7617f87511d679945aa7af35e2e3fda47db /lib/getaddrinfo.c | |
parent | 9456434688a271d2842431530108d7a13df96aac (diff) | |
download | rsync-1b411143e517b2f7baec66e8ffbffb3ded1dd04c.tar.gz |
Got rid of a compiler warning.
Diffstat (limited to 'lib/getaddrinfo.c')
-rw-r--r-- | lib/getaddrinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |