summaryrefslogtreecommitdiff
path: root/vio
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2019-09-09 12:07:47 +0200
committerVladislav Vaintroub <wlad@mariadb.com>2019-09-09 13:52:30 +0200
commitd251b76884557580d1dbac877e3b22216c55ecee (patch)
treed7093c11851287e16c527ec8f002f7e80c934404 /vio
parent7e7b6ec4d6ffe24c8008e7108f728104b89802c2 (diff)
downloadmariadb-git-d251b76884557580d1dbac877e3b22216c55ecee.tar.gz
Fix warning when compiling with OpenSSL.
Diffstat (limited to 'vio')
-rw-r--r--vio/viossl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vio/viossl.c b/vio/viossl.c
index 02ef41db2de..30946d3261c 100644
--- a/vio/viossl.c
+++ b/vio/viossl.c
@@ -333,7 +333,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