Skip to content
Snippets Groups Projects
Commit 980dc20f authored by deuce's avatar deuce
Browse files

Fix use of ulong macro (should have been u_long)

parent 12a67d7e
No related branches found
No related tags found
No related merge requests found
......@@ -567,7 +567,7 @@ static u_long resolve_ip(char *addr)
return(inet_addr(addr));
if((host=gethostbyname(addr))==NULL)
return(INADDR_NONE);
return(*((ulong*)host->h_addr_list[0]));
return(*((u_long*)host->h_addr_list[0]));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment