1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

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).
This commit is contained in:
unknown
2003-08-18 20:01:38 +02:00
parent 2c3f656879
commit 2f27739e06

View File

@@ -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;