diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2019-09-09 12:07:47 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2019-09-09 13:52:30 +0200 |
commit | d251b76884557580d1dbac877e3b22216c55ecee (patch) | |
tree | d7093c11851287e16c527ec8f002f7e80c934404 /vio | |
parent | 7e7b6ec4d6ffe24c8008e7108f728104b89802c2 (diff) | |
download | mariadb-git-d251b76884557580d1dbac877e3b22216c55ecee.tar.gz |
Fix warning when compiling with OpenSSL.
Diffstat (limited to 'vio')
-rw-r--r-- | vio/viossl.c | 2 |
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 |