src/mongo/crypto/fle_crypto.cpp: In function 'mongo::BSONObj mongo::{anonymous}::toBSON(mongo::BSONType, mongo::ConstDataRange)':
|
src/mongo/crypto/fle_crypto.cpp:1046:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
|
1046 | docLength < std::numeric_limits<int32_t>::max());
|
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
src/mongo/platform/compiler_gcc.h:91:80: note: in definition of macro 'MONGO_unlikely'
|
91 | #define MONGO_unlikely(x) static_cast<bool>(__builtin_expect(static_cast<bool>(x), 0))
|
| ^
|
src/mongo/util/assert_util.h:417:5: note: in expansion of macro 'MONGO_BASE_ASSERT'
|
417 | MONGO_BASE_ASSERT(::mongo::uassertedWithLocation, msgid, msg, expr)
|
| ^~~~~~~~~~~~~~~~~
|
src/mongo/crypto/fle_crypto.cpp:1044:5: note: in expansion of macro 'uassert'
|
1044 | uassert(ErrorCodes::BadValue,
|
| ^~~~~~~
|