diff options
Diffstat (limited to 'src/mongo/db/pipeline/abt/match_expression_visitor.cpp')
-rw-r--r-- | src/mongo/db/pipeline/abt/match_expression_visitor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/abt/match_expression_visitor.cpp b/src/mongo/db/pipeline/abt/match_expression_visitor.cpp index 445c2e719ad..6c33e2d66e3 100644 --- a/src/mongo/db/pipeline/abt/match_expression_visitor.cpp +++ b/src/mongo/db/pipeline/abt/match_expression_visitor.cpp @@ -293,7 +293,7 @@ public: lambdaProjName, make<FunctionCall>("typeMatch", makeSeq(make<Variable>(lambdaProjName), - Constant::int64(expr->typeSet().getBSONTypeMask()))))); + Constant::int32(expr->typeSet().getBSONTypeMask()))))); if (!expr->path().empty()) { result = generateFieldPath(FieldPath(expr->path().toString()), std::move(result)); |