From 2f27739e06bf1033d0ce59c260aa225f92d011fc Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 18 Aug 2003 20:01:38 +0200 Subject: [PATCH] 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). --- extra/resolveip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/resolveip.c b/extra/resolveip.c index ba2db0a4d65..764844bf622 100644 --- a/extra/resolveip.c +++ b/extra/resolveip.c @@ -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;