mirror of
https://github.com/moparisthebest/curl
synced 2024-11-10 19:45:04 -05:00
prevent warning
This commit is contained in:
parent
d7aae417b1
commit
560c257bd0
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user