summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/OpenSSLTransceiverI.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2019-01-29 16:25:30 +0100
committerJose <jose@zeroc.com>2019-01-29 16:25:30 +0100
commit74db01aaad021874ec7c5c6adb2ef1e740ded4b5 (patch)
tree3c8f440e30343c808f9e97eaacf14fcadb64ad6a /cpp/src/IceSSL/OpenSSLTransceiverI.cpp
parentFixed Windows IceOpenSSL to not rely on FD if invalid (diff)
downloadice-74db01aaad021874ec7c5c6adb2ef1e740ded4b5.tar.bz2
ice-74db01aaad021874ec7c5c6adb2ef1e740ded4b5.tar.xz
ice-74db01aaad021874ec7c5c6adb2ef1e740ded4b5.zip
Remove outdated comment and unnecessary cast
Diffstat (limited to 'cpp/src/IceSSL/OpenSSLTransceiverI.cpp')
-rw-r--r--cpp/src/IceSSL/OpenSSLTransceiverI.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/cpp/src/IceSSL/OpenSSLTransceiverI.cpp b/cpp/src/IceSSL/OpenSSLTransceiverI.cpp
index 6fcffc8b3e8..aa6e6b22179 100644
--- a/cpp/src/IceSSL/OpenSSLTransceiverI.cpp
+++ b/cpp/src/IceSSL/OpenSSLTransceiverI.cpp
@@ -118,10 +118,7 @@ OpenSSL::TransceiverI::initialize(IceInternal::Buffer& readBuffer, IceInternal::
_memBio = 0;
}
#else
- //
- // This static_cast is necessary due to 64bit windows. There SOCKET is a non-int type.
- //
- bio = BIO_new_socket(static_cast<int>(fd), 0);
+ bio = BIO_new_socket(fd, 0);
#endif
}