From 4c0d391c92bcf2e1c6c0e970aa698af9b4740b04 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Sat, 8 Sep 2018 16:18:42 +0100 Subject: Windows : fix broken build with OpenSSL --- vio/viossl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vio') diff --git a/vio/viossl.c b/vio/viossl.c index 000a526a892..b3e2bca6676 100644 --- a/vio/viossl.c +++ b/vio/viossl.c @@ -335,7 +335,7 @@ static int ssl_do(struct st_VioSSLFd *ptr, Vio *vio, long timeout, DBUG_PRINT("info", ("ssl: %p timeout: %ld", ssl, timeout)); SSL_clear(ssl); SSL_SESSION_set_timeout(SSL_get_session(ssl), timeout); - SSL_set_fd(ssl, sd); + SSL_set_fd(ssl, (int)sd); /* Since yaSSL does not support non-blocking send operations, use -- cgit v1.2.1