summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2017-05-10 19:08:14 +0200
committerBenoit Foucher <benoit@zeroc.com>2017-05-10 19:08:14 +0200
commitb12054e971c25a90d73bf61b44f1e895f6069009 (patch)
treec388d18003fdb0aa5a867eac98f2b5183ab2c00f /cpp/src
parentFixed ICE-7849 - Removed IceDiscovery/IceLocatorDiscovery ice_getConnection c... (diff)
downloadice-b12054e971c25a90d73bf61b44f1e895f6069009.tar.bz2
ice-b12054e971c25a90d73bf61b44f1e895f6069009.tar.xz
ice-b12054e971c25a90d73bf61b44f1e895f6069009.zip
Fixed IceDiscovery/IceLocatorDiscovery build failures on x64
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IceDiscovery/LookupI.h4
-rw-r--r--cpp/src/IceLocatorDiscovery/PluginI.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceDiscovery/LookupI.h b/cpp/src/IceDiscovery/LookupI.h
index af9d40ea1e6..6925cbf27da 100644
--- a/cpp/src/IceDiscovery/LookupI.h
+++ b/cpp/src/IceDiscovery/LookupI.h
@@ -39,8 +39,8 @@ protected:
LookupIPtr _lookup;
int _retryCount;
- int _lookupCount;
- int _failureCount;
+ size_t _lookupCount;
+ size_t _failureCount;
};
ICE_DEFINE_PTR(RequestPtr, Request);
diff --git a/cpp/src/IceLocatorDiscovery/PluginI.cpp b/cpp/src/IceLocatorDiscovery/PluginI.cpp
index 112147f8978..8188f7f5aed 100644
--- a/cpp/src/IceLocatorDiscovery/PluginI.cpp
+++ b/cpp/src/IceLocatorDiscovery/PluginI.cpp
@@ -125,7 +125,7 @@ private:
IceUtil::Time _nextRetry;
int _pendingRetryCount;
- int _failureCount;
+ size_t _failureCount;
bool _warnOnce;
vector<RequestPtr> _pendingRequests;
};