add cast to silent compiler warning with 64bit systems.

This commit is contained in:
Gunter Knauf 2009-08-29 04:34:44 +00:00
parent e8baa332d7
commit 68f7d5b8d3
1 changed files with 1 additions and 1 deletions

View File

@ -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;