From b924406905c89468decc04f61f0042617085dfa5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 17 Oct 2011 06:52:44 +0000 Subject: Fix kvirc FTBFS under oneiric git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1259272 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/kvilib/net/kvi_ssl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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_get_current_cipher(m_pSSL)); if(!c)return 0; return new KviSSLCipherInfo(c); } -- cgit v1.2.1