summaryrefslogtreecommitdiff
path: root/lib/hostip4.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-04-26 12:02:33 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-04-26 12:02:33 +0000
commit2370d4fa02da0284419cc081d7c0fde70626da50 (patch)
treea17c4086c5117b1e007778349f787e0b45dba376 /lib/hostip4.c
parentf128d904a545476d48fc4a588a5aa1b5ace22dac (diff)
downloadcurl-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.c2
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;