diff options
Diffstat (limited to 'cpp/src/IceGrid/Database.cpp')
-rw-r--r-- | cpp/src/IceGrid/Database.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/Database.cpp b/cpp/src/IceGrid/Database.cpp index 226b84a5f9b..239fa302ba5 100644 --- a/cpp/src/IceGrid/Database.cpp +++ b/cpp/src/IceGrid/Database.cpp @@ -760,7 +760,7 @@ Database::getAdapters(const string& id, bool allRegistered, int& endpointCount) ++p; } random_shuffle(adpts.begin(), adpts.end()); - endpointCount = adpts.size(); + endpointCount = static_cast<int>(adpts.size()); return adpts; } |