summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/UdpTransceiver.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2012-09-10 08:49:45 +0200
committerBenoit Foucher <benoit@zeroc.com>2012-09-10 08:49:45 +0200
commit981d2ac7c8f825f92670f9121a7d29edd94da6f9 (patch)
tree286f13f365513c9894c0ec4167b8bbef30965bf9 /cpp/src/Ice/UdpTransceiver.cpp
parentFixed communicator flushBatchRequests to allow tracing (diff)
parentFixed ICE-4863 (IceProxy::Ice::Object derives privately from Mutex) + a few w... (diff)
downloadice-981d2ac7c8f825f92670f9121a7d29edd94da6f9.tar.bz2
ice-981d2ac7c8f825f92670f9121a7d29edd94da6f9.tar.xz
ice-981d2ac7c8f825f92670f9121a7d29edd94da6f9.zip
Merge remote-tracking branch 'origin/encoding11' into withoutsync
Conflicts: cpp/src/Ice/PropertyNames.cpp cpp/src/Ice/PropertyNames.h
Diffstat (limited to 'cpp/src/Ice/UdpTransceiver.cpp')
-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 9ecfaa1fceb..581f7527960 100644
--- a/cpp/src/Ice/UdpTransceiver.cpp
+++ b/cpp/src/Ice/UdpTransceiver.cpp
@@ -177,11 +177,11 @@ repeat:
socklen_t len = static_cast<socklen_t>(sizeof(_peerAddr));
if(_peerAddr.ss_family == AF_INET)
{
- len = sizeof(sockaddr_in);
+ len = static_cast<socklen_t>(sizeof(sockaddr_in));
}
else if(_peerAddr.ss_family == AF_INET6)
{
- len = sizeof(sockaddr_in6);
+ len = static_cast<socklen_t>(sizeof(sockaddr_in6));
}
else
{