aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip.h
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/hostip.h
parentf128d904a545476d48fc4a588a5aa1b5ace22dac (diff)
Curl_ip2addr() now takes an in_addr_t argument instead to prevent compiler
warnings
Diffstat (limited to 'lib/hostip.h')
-rw-r--r--lib/hostip.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hostip.h b/lib/hostip.h
index 19a62c666..e0cc6beb4 100644
--- a/lib/hostip.h
+++ b/lib/hostip.h
@@ -121,7 +121,7 @@ void Curl_addrinfo_callback(void *arg,
/* This is a utility-function for ipv4-builds to create a hostent struct
from a numerical-only IP address */
-Curl_addrinfo *Curl_ip2addr(unsigned long num, char *hostname);
+Curl_addrinfo *Curl_ip2addr(in_addr_t num, char *hostname);
/* relocate a hostent struct */
void Curl_hostent_relocate(struct hostent *h, long offset);