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/hostthre.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/hostthre.c') diff --git a/lib/hostthre.c b/lib/hostthre.c index a13159f5f..be8ab20a8 100644 --- a/lib/hostthre.c +++ b/lib/hostthre.c @@ -469,7 +469,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn, hostname, port, Curl_strerror(conn,WSAGetLastError())); return NULL; } - return Curl_he2ai(h, (unsigned short)port); + return Curl_he2ai(h, port); } #endif /* CURLRES_IPV4 */ -- cgit v1.2.3