mirror of
https://github.com/curl/curl.git
synced 2026-07-24 16:17:15 +03:00
prevent warning
This commit is contained in:
parent
d7aae417b1
commit
560c257bd0
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue