mirror of
https://github.com/moparisthebest/curl
synced 2024-08-13 17:03:50 -04: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 */
|
/* 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",
|
failf(data, "SSL: SSL_set_fd failed: %s",
|
||||||
ERR_error_string(ERR_get_error(),NULL));
|
ERR_error_string(ERR_get_error(),NULL));
|
||||||
return CURLE_SSL_CONNECT_ERROR;
|
return CURLE_SSL_CONNECT_ERROR;
|
||||||
|
Loading…
Reference in New Issue
Block a user