mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08: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