summaryrefslogtreecommitdiff
path: root/extra/resolveip.c
diff options
context:
space:
mode:
authorunknown <guilhem@mysql.com>2003-08-18 20:01:38 +0200
committerunknown <guilhem@mysql.com>2003-08-18 20:01:38 +0200
commit2f27739e06bf1033d0ce59c260aa225f92d011fc (patch)
tree38975b50fb71ecc6d917a59412b1096eb0d67219 /extra/resolveip.c
parent2c3f6568797ecc269371b7d20eecdf4993905cec (diff)
downloadmariadb-git-2f27739e06bf1033d0ce59c260aa225f92d011fc.tar.gz
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).
Diffstat (limited to 'extra/resolveip.c')
-rw-r--r--extra/resolveip.c2
1 files changed, 1 insertions, 1 deletions
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;