aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/ssluse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssluse.c b/lib/ssluse.c
index c627dd36e..aaf5df05a 100644
--- a/lib/ssluse.c
+++ b/lib/ssluse.c
@@ -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;