mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +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:
@@ -110,7 +110,7 @@ static int get_options(int *argc,char ***argv)
|
|||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
struct hostent *hpaddr;
|
struct hostent *hpaddr;
|
||||||
u_long taddr;
|
in_addr_t taddr;
|
||||||
char *ip,**q;
|
char *ip,**q;
|
||||||
int error=0;
|
int error=0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user