vcpkg/ports/google-cloud-cpp/0001-fix-x86-build.patch
Carlos O'Ryan 314d59229d [google-cloud-cpp] Upgrade to v0.17.0 (#9576)
* [google-cloud-cpp] Upgrade to v0.17.0

* Fix the x86-windows build.
2020-01-10 10:32:55 -08:00

14 lines
623 B
Diff

diff --git a/google/cloud/storage/parallel_upload.h b/google/cloud/storage/parallel_upload.h
index 44f542d..4fd97bd 100644
--- a/google/cloud/storage/parallel_upload.h
+++ b/google/cloud/storage/parallel_upload.h
@@ -515,7 +515,7 @@ StatusOr<std::vector<ParallelUploadFileShard>> CreateUploadShards(
std::size_t const wanted_num_streams =
(std::max<std::size_t>)(1,
- (std::min)(max_streams,
+ (std::min<std::size_t>)(max_streams,
div_ceil(file_size, min_stream_size)));
std::uintmax_t const stream_size =