From: Daniel Stenberg Date: Thu, 24 Jun 2004 08:31:17 +0000 (+0000) Subject: typecast to prevent warning X-Git-Tag: curl-7_12_1~213 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cdb419d65e4055dde693c0c130bd42ffdf28c96d;p=curl typecast to prevent warning --- diff --git a/lib/hostthre.c b/lib/hostthre.c index be8ab20a8..a13159f5f 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, port); + return Curl_he2ai(h, (unsigned short)port); } #endif /* CURLRES_IPV4 */