diff options
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/IceDiscovery/LookupI.h | 4 | ||||
-rw-r--r-- | cpp/src/IceLocatorDiscovery/PluginI.cpp | 2 |
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; }; |