1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-10 19:45:04 -05:00

prevent warning

This commit is contained in:
Daniel Stenberg 2004-06-24 08:08:28 +00:00
parent d7aae417b1
commit 560c257bd0

View File

@ -555,6 +555,6 @@ Curl_addrinfo *Curl_addrinfo_copy(void *org, int port)
{ {
struct hostent *orig = org; struct hostent *orig = org;
return Curl_he2ai(orig, port); return Curl_he2ai(orig, (unsigned short)port);
} }
#endif /* CURLRES_ADDRINFO_COPY */ #endif /* CURLRES_ADDRINFO_COPY */