aboutsummaryrefslogtreecommitdiff
path: root/lib/hostip.h
diff options
context:
space:
mode:
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);