mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -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;
|
||||
|
||||
return Curl_he2ai(orig, port);
|
||||
return Curl_he2ai(orig, (unsigned short)port);
|
||||
}
|
||||
#endif /* CURLRES_ADDRINFO_COPY */
|
||||
|
Loading…
Reference in New Issue
Block a user