summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SslConnectionOpenSSLClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/SslConnectionOpenSSLClient.cpp')
-rw-r--r--cpp/src/IceSSL/SslConnectionOpenSSLClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceSSL/SslConnectionOpenSSLClient.cpp b/cpp/src/IceSSL/SslConnectionOpenSSLClient.cpp
index dd7c527a8b8..acfbdd6bc71 100644
--- a/cpp/src/IceSSL/SslConnectionOpenSSLClient.cpp
+++ b/cpp/src/IceSSL/SslConnectionOpenSSLClient.cpp
@@ -256,7 +256,7 @@ IceSSL::OpenSSL::ClientConnection::write(Buffer& buf, int timeout)
break;
}
- bytesWritten = sslWrite((char *)buf.i, packetSize);
+ bytesWritten = sslWrite(static_cast<char*>(&*buf.i), packetSize);
switch (getLastError())
{