diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-04-26 12:02:33 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-04-26 12:02:33 +0000 |
commit | 2370d4fa02da0284419cc081d7c0fde70626da50 (patch) | |
tree | a17c4086c5117b1e007778349f787e0b45dba376 /lib/hostip4.c | |
parent | f128d904a545476d48fc4a588a5aa1b5ace22dac (diff) | |
download | curl-2370d4fa02da0284419cc081d7c0fde70626da50.tar.gz |
Curl_ip2addr() now takes an in_addr_t argument instead to prevent compiler
warnings
Diffstat (limited to 'lib/hostip4.c')
-rw-r--r-- | lib/hostip4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip4.c b/lib/hostip4.c index bd6e40e73..92a76baee 100644 --- a/lib/hostip4.c +++ b/lib/hostip4.c @@ -129,7 +129,7 @@ bool Curl_ipvalid(struct SessionHandle *data) * The input parameters ARE NOT checked for validity but they are expected * to have been checked already when this is called. */ -Curl_addrinfo *Curl_ip2addr(unsigned long num, char *hostname) +Curl_addrinfo *Curl_ip2addr(in_addr_t num, char *hostname) { struct hostent *h; struct in_addr *addrentry; |