mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 15:49:07 +08:00
98c5261b40
* Fixed port of mongo-c-driver/mongo-cxx-driver for android * mongo-c-driver - Default value of ENABLE_SHM_COUNTERS is AUTO * Use vcpkg provided variable VCPKG_TARGET_IS_ANDROID to detect android Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com> * Increased port-version of mongo-c-driver * Increased port-version of mongo-cxx-driver Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
14 lines
693 B
Diff
14 lines
693 B
Diff
diff --git "a/src/mongocxx/options/change_stream.cpp" "b/src/mongocxx/options/change_stream.cpp"
|
|
index 2c651a7e0..2e9c34eb6 100644
|
|
--- "a/src/mongocxx/options/change_stream.cpp"
|
|
+++ "b/src/mongocxx/options/change_stream.cpp"
|
|
@@ -108,7 +108,7 @@ bsoncxx::document::value change_stream::as_bson() const {
|
|
if ((count < 0) || (count >= std::numeric_limits<std::uint32_t>::max())) {
|
|
throw mongocxx::logic_error{mongocxx::error_code::k_invalid_parameter};
|
|
}
|
|
- out.append(bsoncxx::builder::basic::kvp("maxAwaitTimeMS", count));
|
|
+ out.append(bsoncxx::builder::basic::kvp("maxAwaitTimeMS", static_cast<int64_t>(count)));
|
|
}
|
|
|
|
return out.extract();
|