summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2009-11-06 23:23:46 +0100
committerBenoit Foucher <benoit@zeroc.com>2009-11-06 23:23:46 +0100
commit4f92b2a5b41e7a595fe50f3ae7bb119ef2240b08 (patch)
treeb362a6718ce67bb547bb750139a7e232e668ca1e /cpp/src
parent855 - Stream template functions and template programming. (diff)
downloadice-4f92b2a5b41e7a595fe50f3ae7bb119ef2240b08.tar.bz2
ice-4f92b2a5b41e7a595fe50f3ae7bb119ef2240b08.tar.xz
ice-4f92b2a5b41e7a595fe50f3ae7bb119ef2240b08.zip
Win32 64 bits compilation error
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/Ice/UdpTransceiver.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/UdpTransceiver.cpp b/cpp/src/Ice/UdpTransceiver.cpp
index d185c44cf9e..c75d3add6ec 100644
--- a/cpp/src/Ice/UdpTransceiver.cpp
+++ b/cpp/src/Ice/UdpTransceiver.cpp
@@ -229,7 +229,7 @@ repeat:
// The message was truncated and the whole buffer is filled. We ignore
// this error here, it will be detected at the connection level when
// the Ice message size is checked against the buffer size.
- ret = buf.b.size();
+ ret = static_cast<ssize_t>(buf.b.size());
}
else
{
@@ -452,7 +452,7 @@ IceInternal::UdpTransceiver::finishRead(Buffer& buf)
// The message was truncated and the whole buffer is filled. We ignore
// this error here, it will be detected at the connection level when
// the Ice message size is checked against the buffer size.
- _read.count = buf.b.size();
+ _read.count = static_cast<int>(buf.b.size());
}
else
{