Commit 1b411143 authored by Wayne Davison's avatar Wayne Davison

Got rid of a compiler warning.

parent 94564346
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment