summaryrefslogtreecommitdiffstats
path: root/src/kvilib
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-17 06:52:44 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-17 06:52:44 +0000
commitb924406905c89468decc04f61f0042617085dfa5 (patch)
tree747158c1ce26a89b39ffd05a5740f49beb559790 /src/kvilib
parent10ff1b477bf54f1433d98e4c1ce1c2cf147371be (diff)
downloadkvirc-b924406905c89468decc04f61f0042617085dfa5.tar.gz
kvirc-b924406905c89468decc04f61f0042617085dfa5.zip
Fix kvirc FTBFS under oneiricv3.5.13
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1259272 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/kvilib')
-rw-r--r--src/kvilib/net/kvi_ssl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kvilib/net/kvi_ssl.cpp b/src/kvilib/net/kvi_ssl.cpp
index 586f7fb4..3a72b6f2 100644
--- a/src/kvilib/net/kvi_ssl.cpp
+++ b/src/kvilib/net/kvi_ssl.cpp
@@ -472,7 +472,7 @@ KviSSLCertificate * KviSSL::getPeerCertificate()
KviSSLCipherInfo * KviSSL::getCurrentCipherInfo()
{
if(!m_pSSL)return 0;
- SSL_CIPHER * c = SSL_get_current_cipher(m_pSSL);
+ SSL_CIPHER * c = const_cast<SSL_CIPHER *>(SSL_get_current_cipher(m_pSSL));
if(!c)return 0;
return new KviSSLCipherInfo(c);
}