diff options
Diffstat (limited to 'src/mongo/util/tcmalloc_set_parameter.cpp')
-rw-r--r-- | src/mongo/util/tcmalloc_set_parameter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/tcmalloc_set_parameter.cpp b/src/mongo/util/tcmalloc_set_parameter.cpp index d8ab1f3939f..3bf03f9e19f 100644 --- a/src/mongo/util/tcmalloc_set_parameter.cpp +++ b/src/mongo/util/tcmalloc_set_parameter.cpp @@ -98,7 +98,7 @@ StatusWith<size_t> validateTCMallocValue(StringData name, const BSONElement& new OperationContext*, BSONObjBuilder& b, const std::string& name) { \ auto swValue = getProperty(k##cls##PropertyName); \ if (swValue.isOK()) { \ - b.appendNumber(name, swValue.getValue()); \ + b.appendNumber(name, static_cast<long long>(swValue.getValue())); \ } \ } \ Status TCMalloc##cls##ServerParameter::set(const BSONElement& newValueElement) { \ |