Got rid of a compiler warning.

This commit is contained in:
Wayne Davison committed 2007-11-08 20:30:17 +00:00
1 parent 9456434688
commit 1b411143e5
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}