summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Network.cpp')
-rw-r--r--cpp/src/Ice/Network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/Network.cpp b/cpp/src/Ice/Network.cpp
index 337d7557a71..5463c2d2377 100644
--- a/cpp/src/Ice/Network.cpp
+++ b/cpp/src/Ice/Network.cpp
@@ -2276,7 +2276,7 @@ IceInternal::doFinishConnectAsync(SOCKET fd, AsyncInfo& info)
// failure to connect. The socket isn't closed by this method.
//
- if(info.count == SOCKET_ERROR)
+ if(static_cast<int>(info.count) == SOCKET_ERROR)
{
WSASetLastError(info.error);
if(connectionRefused())