diff options
Diffstat (limited to 'cpp/src/IceSSL/SslTransceiver.cpp')
-rw-r--r-- | cpp/src/IceSSL/SslTransceiver.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceSSL/SslTransceiver.cpp b/cpp/src/IceSSL/SslTransceiver.cpp index 6a83659c3cd..2fd8b3ed2df 100644 --- a/cpp/src/IceSSL/SslTransceiver.cpp +++ b/cpp/src/IceSSL/SslTransceiver.cpp @@ -152,7 +152,7 @@ IceSSL::SslTransceiver::read(Buffer& buf, int timeout) _readTimeout = timeout; - bytesRead = sslRead(static_cast<char*>(&*buf.i), static_cast<Int>(packetSize)); + bytesRead = sslRead(&*buf.i, static_cast<Int>(packetSize)); switch(getLastError()) { @@ -680,7 +680,7 @@ IceSSL::SslTransceiver::getLastError() const } int -IceSSL::SslTransceiver::sslRead(char* buffer, int bufferSize) +IceSSL::SslTransceiver::sslRead(unsigned char* buffer, int bufferSize) { assert(_sslConnection != 0); @@ -693,7 +693,7 @@ IceSSL::SslTransceiver::sslRead(char* buffer, int bufferSize) } int -IceSSL::SslTransceiver::sslWrite(char* buffer, int bufferSize) +IceSSL::SslTransceiver::sslWrite(unsigned char* buffer, int bufferSize) { assert(_sslConnection != 0); |