Commit 2f27739e authored by unknown's avatar unknown

Fix for 64-bit CPUs (u_long is 64 bit there, but in_addr_t is always uint32).

That's to make resolveip work on our FreeBSD-5.0/Sparc64 build host.


extra/resolveip.c:
  Fix for 64-bit CPUs (u_long is 64 bit there, but in_addr_t is always uint32).
parent 2c3f6568
...@@ -110,7 +110,7 @@ static int get_options(int *argc,char ***argv) ...@@ -110,7 +110,7 @@ static int get_options(int *argc,char ***argv)
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
struct hostent *hpaddr; struct hostent *hpaddr;
u_long taddr; in_addr_t taddr;
char *ip,**q; char *ip,**q;
int error=0; int error=0;
......
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