From 560c257bd0a633224f777a2ab51b56fb7f3e093d Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 24 Jun 2004 08:08:28 +0000 Subject: [PATCH] prevent warning --- lib/hostip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hostip.c b/lib/hostip.c index 7a32d1728..6c5e56788 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 */