summaryrefslogtreecommitdiff
path: root/src/mongo/db/curop.cpp
diff options
context:
space:
mode:
authorAlya Berciu <alya.berciu@mongodb.com>2019-06-07 10:26:48 -0400
committerAlya Berciu <alya.berciu@mongodb.com>2019-07-03 12:53:07 -0400
commit990b2ef30d7b8fa4db6af6d79da80e3664df9c21 (patch)
tree6af2f09e7271d41e86f4228dd54f35aeade71171 /src/mongo/db/curop.cpp
parent5813046272efb614ac78beb68885f1cb0ec58425 (diff)
downloadmongo-990b2ef30d7b8fa4db6af6d79da80e3664df9c21.tar.gz
SERVER-9763 Remove BSONObjBuilder append unsigned method
Diffstat (limited to 'src/mongo/db/curop.cpp')
-rw-r--r--src/mongo/db/curop.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/curop.cpp b/src/mongo/db/curop.cpp
index aef663364b0..c55c2c75efb 100644
--- a/src/mongo/db/curop.cpp
+++ b/src/mongo/db/curop.cpp
@@ -282,7 +282,7 @@ void CurOp::reportCurrentOpForClient(OperationContext* opCtx,
}
if (clientOpCtx) {
- infoBuilder->append("opid", clientOpCtx->getOpID());
+ infoBuilder->append("opid", static_cast<int>(clientOpCtx->getOpID()));
if (clientOpCtx->isKillPending()) {
infoBuilder->append("killPending", true);
}