From 2370d4fa02da0284419cc081d7c0fde70626da50 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 26 Apr 2004 12:02:33 +0000 Subject: Curl_ip2addr() now takes an in_addr_t argument instead to prevent compiler warnings --- lib/hostip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/hostip.h') 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); -- cgit v1.2.3