diff options
author | Andrew Morrow <acm@mongodb.com> | 2021-09-16 14:43:03 -0400 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-09-17 18:26:24 +0000 |
commit | be34e602e19cea0c795a0955646e7ce50350b997 (patch) | |
tree | e1915e65013ce32b1481bab32cb98917d51d00e0 /src/mongo/scripting/mozjs | |
parent | 5055d631241e374963f230c8bfea1cf0022c28f0 (diff) | |
download | mongo-be34e602e19cea0c795a0955646e7ce50350b997.tar.gz |
SERVER-59234 Fix clang-12 warnings in C++20 mode
Diffstat (limited to 'src/mongo/scripting/mozjs')
-rw-r--r-- | src/mongo/scripting/mozjs/bindata.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/scripting/mozjs/bindata.cpp b/src/mongo/scripting/mozjs/bindata.cpp index 36c37700e20..6182aac28c1 100644 --- a/src/mongo/scripting/mozjs/bindata.cpp +++ b/src/mongo/scripting/mozjs/bindata.cpp @@ -164,7 +164,7 @@ void BinDataInfo::Functions::toString::call(JSContext* cx, JS::CallArgs args) { auto str = getEncoded(args.thisv()); str::stream ss; - auto binType = o.getNumber(InternedString::type); + auto binType = o.getNumberInt(InternedString::type); if (binType == newUUID) { auto decoded = mongo::base64::decode(*str); |