summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/SslConnectionOpenSSL.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-06-10 20:38:43 +0000
committerMarc Laukien <marc@zeroc.com>2002-06-10 20:38:43 +0000
commitf8466eef681265e2f50c27fc3bb0c1c47ac2b41f (patch)
treef5dea5fdde8c7ad5a57a9dd8360d280732b6ee29 /cpp/src/IceSSL/SslConnectionOpenSSL.cpp
parent_ovwt -> _ovrd (diff)
downloadice-f8466eef681265e2f50c27fc3bb0c1c47ac2b41f.tar.bz2
ice-f8466eef681265e2f50c27fc3bb0c1c47ac2b41f.tar.xz
ice-f8466eef681265e2f50c27fc3bb0c1c47ac2b41f.zip
stlport in debug 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())
{