summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SslConnectionOpenSSL.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/SslConnectionOpenSSL.cpp')
-rw-r--r--cpp/src/IceSSL/SslConnectionOpenSSL.cpp11
1 files changed, 1 insertions, 10 deletions
diff --git a/cpp/src/IceSSL/SslConnectionOpenSSL.cpp b/cpp/src/IceSSL/SslConnectionOpenSSL.cpp
index 043ccd06184..dba97fde2d2 100644
--- a/cpp/src/IceSSL/SslConnectionOpenSSL.cpp
+++ b/cpp/src/IceSSL/SslConnectionOpenSSL.cpp
@@ -8,15 +8,6 @@
//
// **********************************************************************
-// Note: This pragma is used to disable spurious warning messages having
-// to do with the length of debug symbols exceeding 255 characters.
-// This is due to STL template identifiers expansion.
-// The MSDN Library recommends that you put this pragma directive
-// in place to avoid the warnings.
-#ifdef _WIN32
-#pragma warning(disable:4786)
-#endif
-
#include <Ice/Network.h>
#include <Ice/Logger.h>
#include <Ice/LocalException.h>
@@ -596,7 +587,7 @@ IceSSL::OpenSSL::Connection::read(Buffer& buf, int timeout)
_readTimeout = timeout;
- bytesRead = sslRead((char *)buf.i, packetSize);
+ bytesRead = sslRead(static_cast<char*>(&*buf.i), packetSize);
switch (getLastError())
{