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()));
|
hostname, port, Curl_strerror(conn,WSAGetLastError()));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
return Curl_he2ai(h, port);
|
return Curl_he2ai(h, (unsigned short)port);
|
||||||
}
|
}
|
||||||
#endif /* CURLRES_IPV4 */
|
#endif /* CURLRES_IPV4 */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user