From: Daniel Stenberg Date: Thu, 24 Jun 2004 08:08:28 +0000 (+0000) Subject: prevent warning X-Git-Tag: curl-7_12_1~216 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=560c257bd0a633224f777a2ab51b56fb7f3e093d;p=thirdparty%2Fcurl.git prevent warning --- diff --git a/lib/hostip.c b/lib/hostip.c index 7a32d1728e..6c5e567885 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, port); + return Curl_he2ai(orig, (unsigned short)port); } #endif /* CURLRES_ADDRINFO_COPY */