mirror of
https://github.com/curl/curl.git
synced 2025-04-12 16:20:35 +08:00
add cast to silent compiler warning with 64bit systems.
This commit is contained in:
parent
e8baa332d7
commit
68f7d5b8d3
@ -1596,7 +1596,7 @@ ossl_connect_step1(struct connectdata *conn,
|
||||
}
|
||||
|
||||
/* pass the raw socket into the SSL layers */
|
||||
if(!SSL_set_fd(connssl->handle, sockfd)) {
|
||||
if(!SSL_set_fd(connssl->handle, (int)sockfd)) {
|
||||
failf(data, "SSL: SSL_set_fd failed: %s",
|
||||
ERR_error_string(ERR_get_error(),NULL));
|
||||
return CURLE_SSL_CONNECT_ERROR;
|
||||
|
Loading…
x
Reference in New Issue
Block a user