summaryrefslogtreecommitdiff
path: root/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.cpp')
-rw-r--r--src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.cpp b/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.cpp
index c8360651df7..4787d972833 100644
--- a/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.cpp
+++ b/src/mongo/db/storage/ephemeral_for_test/ephemeral_for_test_record_store.cpp
@@ -290,8 +290,8 @@ void RecordStore::appendCustomStats(OperationContext* opCtx,
double scale) const {
result->appendBool("capped", _isCapped);
if (_isCapped) {
- result->appendIntOrLL("max", _cappedMaxDocs);
- result->appendIntOrLL("maxSize", _cappedMaxSize / scale);
+ result->appendNumber("max", static_cast<long long>(_cappedMaxDocs));
+ result->appendNumber("maxSize", static_cast<long long>(_cappedMaxSize / scale));
}
}