mirror of
https://github.com/curl/curl.git
synced 2026-08-07 18:02:55 +03:00
add cast to silent compiler warning with 64bit systems.
This commit is contained in:
parent
e8baa332d7
commit
68f7d5b8d3
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue