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