diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-03-07 14:15:10 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-03-07 14:15:10 +0000 |
commit | bcf0ceb584580049a250a850f8f4cc9ac2441608 (patch) | |
tree | ca9e1035ddfcb490a4a8e93acc193c66c7b172fb /cpp/src/IceSSL/SslTransceiver.cpp | |
parent | Added instructions to add . to LD_LIBRARY_PATH (diff) | |
download | ice-bcf0ceb584580049a250a850f8f4cc9ac2441608.tar.bz2 ice-bcf0ceb584580049a250a850f8f4cc9ac2441608.tar.xz ice-bcf0ceb584580049a250a850f8f4cc9ac2441608.zip |
Get rid of a bunch of 64bit warnings on Sun
Diffstat (limited to 'cpp/src/IceSSL/SslTransceiver.cpp')
-rw-r--r-- | cpp/src/IceSSL/SslTransceiver.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpp/src/IceSSL/SslTransceiver.cpp b/cpp/src/IceSSL/SslTransceiver.cpp index 3be15240b17..b0ae47f270c 100644 --- a/cpp/src/IceSSL/SslTransceiver.cpp +++ b/cpp/src/IceSSL/SslTransceiver.cpp @@ -146,7 +146,8 @@ IceSSL::SslTransceiver::read(Buffer& buf, int timeout) _plugin->registerThread(); - Buffer::Container::difference_type packetSize = buf.b.end() - buf.i; + Buffer::Container::difference_type packetSize = + static_cast<Buffer::Container::difference_type>(buf.b.end() - buf.i); int totalBytesRead = 0; int bytesRead; @@ -213,7 +214,7 @@ IceSSL::SslTransceiver::read(Buffer& buf, int timeout) if(packetSize > buf.b.end() - buf.i) { - packetSize = buf.b.end() - buf.i; + packetSize = static_cast<Buffer::Container::difference_type>(buf.b.end() - buf.i); } } continue; |