Commit 2f27739e authored by unknown's avatar unknown
Browse files

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ static int get_options(int *argc,char ***argv)
int main(int argc, char **argv)
{
  struct hostent *hpaddr;
  u_long taddr;
  in_addr_t taddr;
  char *ip,**q;
  int error=0;