diff options
author | unknown <guilhem@mysql.com> | 2003-08-18 20:01:38 +0200 |
---|---|---|
committer | unknown <guilhem@mysql.com> | 2003-08-18 20:01:38 +0200 |
commit | 2f27739e06bf1033d0ce59c260aa225f92d011fc (patch) | |
tree | 38975b50fb71ecc6d917a59412b1096eb0d67219 /extra/resolveip.c | |
parent | 2c3f6568797ecc269371b7d20eecdf4993905cec (diff) | |
download | mariadb-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.c | 2 |
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; |