diff options
author | Bynn Lee <bynn.lee@mongodb.com> | 2021-02-17 22:34:59 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-02-22 17:28:27 +0000 |
commit | 3307ba57eef2dfff9abe2413e39058ac9451ec04 (patch) | |
tree | 57a7b6a482e927176823a39a671ac9fdd832d062 /src/mongo/db/commands/drop_indexes.cpp | |
parent | bfbf776563bf16a6a52ffcc0a69f4686953eb0a1 (diff) | |
download | mongo-3307ba57eef2dfff9abe2413e39058ac9451ec04.tar.gz |
SERVER-43762 tighten the overload set for BSONObjBuilder::appendNumber
Diffstat (limited to 'src/mongo/db/commands/drop_indexes.cpp')
-rw-r--r-- | src/mongo/db/commands/drop_indexes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/commands/drop_indexes.cpp b/src/mongo/db/commands/drop_indexes.cpp index 9a4ef95c51f..035ad1b0663 100644 --- a/src/mongo/db/commands/drop_indexes.cpp +++ b/src/mongo/db/commands/drop_indexes.cpp @@ -210,7 +210,7 @@ public: } } - result.appendNumber("nIndexesWas", all.size()); + result.appendNumber("nIndexesWas", static_cast<long long>(all.size())); std::unique_ptr<MultiIndexBlock> indexer = std::make_unique<MultiIndexBlock>(); indexer->setIndexBuildMethod(IndexBuildMethod::kForeground); |