summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorguilhem@mysql.com <>2003-08-18 20:01:38 +0200
committerguilhem@mysql.com <>2003-08-18 20:01:38 +0200
commitf26106fe64aec18af27c7cbd154733e77e867c6a (patch)
tree38975b50fb71ecc6d917a59412b1096eb0d67219 /extra
parent119d3f039df335923787d519083b06e2268c8037 (diff)
downloadmariadb-git-f26106fe64aec18af27c7cbd154733e77e867c6a.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.
Diffstat (limited to 'extra')
-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;