From 5e34f3dc0133333fb398dd4b285a63f58aa441da Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 24 Jun 2004 10:43:50 +0000 Subject: made the Curl_he2ai() take the port number as an int intead, to avoid lots of typecasts all over --- 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 aa3aba05f..9eb1bf055 100644 --- a/lib/hostip.h +++ b/lib/hostip.h @@ -215,7 +215,7 @@ Curl_addrinfo *Curl_ip2addr(in_addr_t num, char *hostname, int port); /* [ipv4 only] Curl_he2ai() converts a struct hostent to a Curl_addrinfo chain and returns it */ -Curl_addrinfo *Curl_he2ai(struct hostent *, unsigned short port); +Curl_addrinfo *Curl_he2ai(struct hostent *, int port); /* relocate a hostent struct */ void Curl_hostent_relocate(struct hostent *h, long offset); -- cgit v1.2.3