mirror of
https://github.com/RsyncProject/rsync.git
synced 2026-10-20 04:51:58 -04:00
Got rid of a compiler warning.
This commit is contained in:
1 parent
9456434688
commit
1b411143e5
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user