mirror of
https://github.com/moparisthebest/curl
synced 2025-03-01 01:41:50 -05:00
typecast to prevent warning
This commit is contained in:
parent
d6f9a41539
commit
cdb419d65e
@ -469,7 +469,7 @@ Curl_addrinfo *Curl_getaddrinfo(struct connectdata *conn,
|
||||
hostname, port, Curl_strerror(conn,WSAGetLastError()));
|
||||
return NULL;
|
||||
}
|
||||
return Curl_he2ai(h, port);
|
||||
return Curl_he2ai(h, (unsigned short)port);
|
||||
}
|
||||
#endif /* CURLRES_IPV4 */
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user