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.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/hostip.c') diff --git a/lib/hostip.c b/lib/hostip.c index 6c5e56788..7a32d1728 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -555,6 +555,6 @@ Curl_addrinfo *Curl_addrinfo_copy(void *org, int port) { struct hostent *orig = org; - return Curl_he2ai(orig, (unsigned short)port); + return Curl_he2ai(orig, port); } #endif /* CURLRES_ADDRINFO_COPY */ -- cgit v1.2.3