mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
INADDR_NONE should be in_addr_t to work with 64bit archs better.
Really, we should only #define this in one file, not both here and in connect.c!
This commit is contained in:
parent
535258ffe4
commit
b795929858
@ -409,7 +409,7 @@ static char *MakeIP(unsigned long num,char *addr, int addr_len)
|
||||
considerably. */
|
||||
|
||||
#ifndef INADDR_NONE
|
||||
#define INADDR_NONE (unsigned long) ~0
|
||||
#define INADDR_NONE (in_addr_t) ~0
|
||||
#endif
|
||||
|
||||
Curl_addrinfo *Curl_getaddrinfo(struct SessionHandle *data,
|
||||
|
Loading…
Reference in New Issue
Block a user