From b2fa71a32ac8bd86bda778a5d54fe2e7e471a1c0 Mon Sep 17 00:00:00 2001 From: tycho Date: Thu, 28 May 2015 12:29:26 +0100 Subject: Fix comments --- src/PolarSSL++/SslContext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/PolarSSL++/SslContext.h') diff --git a/src/PolarSSL++/SslContext.h b/src/PolarSSL++/SslContext.h index ce6a2e398..408fc7c56 100644 --- a/src/PolarSSL++/SslContext.h +++ b/src/PolarSSL++/SslContext.h @@ -127,13 +127,13 @@ protected: /** The callback used by PolarSSL when it wants to read encrypted data. */ static int ReceiveEncrypted(void * a_This, unsigned char * a_Buffer, size_t a_NumBytes) { - return (static_cast(a_This))->ReceiveEncrypted(a_Buffer, a_NumBytes); + return (reinterpret_cast(a_This))->ReceiveEncrypted(a_Buffer, a_NumBytes); } /** The callback used by PolarSSL when it wants to write encrypted data. */ static int SendEncrypted(void * a_This, const unsigned char * a_Buffer, size_t a_NumBytes) { - return (static_cast(a_This))->SendEncrypted(a_Buffer, a_NumBytes); + return (reinterpret_cast(a_This))->SendEncrypted(a_Buffer, a_NumBytes); } #ifdef _DEBUG -- cgit v1.2.3