Skip to content

Conversation

@coryan
Copy link
Contributor

@coryan coryan commented Mar 15, 2022

Use the correct types of stream offsets (std::streamoff) vs.
stream buffer sizes (std::streamsize). Cleanup some uses of
std::uintmax_t where std::int64_t is more reasonable.

Fixes #8536


This change is Reviewable

Use the correct types of stream offsets (`std::streamoff`) vs.
stream buffer sizes (`std::streamsize`).  Cleanup some uses of
`std::uintmax_t` where `std::int64_t` is more reasonable.
@product-auto-label product-auto-label bot added the api: storage Issues related to the Cloud Storage API. label Mar 15, 2022
@google-cloud-cpp-bot
Copy link
Collaborator

Google Cloud Build Logs
For commit: 320d6c4f3564bf19aeb44e1ee849b3dac5ab476d

ℹ️ NOTE: Kokoro logs are linked from "Details" below.

@codecov
Copy link

codecov bot commented Mar 15, 2022

Codecov Report

Merging #8538 (320d6c4) into main (a5a805c) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #8538   +/-   ##
=======================================
  Coverage   93.92%   93.92%           
=======================================
  Files        1453     1453           
  Lines      125885   125885           
=======================================
+ Hits       118237   118240    +3     
+ Misses       7648     7645    -3     
Impacted Files Coverage Δ
google/cloud/storage/parallel_upload.h 97.24% <ø> (ø)
google/cloud/storage/parallel_upload.cc 98.26% <100.00%> (ø)
google/cloud/internal/async_rpc_details.h 94.44% <0.00%> (-5.56%) ⬇️
google/cloud/pubsub/samples/samples.cc 92.33% <0.00%> (+0.23%) ⬆️
...cloud/pubsub/internal/subscription_session_test.cc 98.00% <0.00%> (+0.24%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a5a805c...320d6c4. Read the comment docs.

@coryan coryan marked this pull request as ready for review March 15, 2022 12:04
@coryan coryan requested a review from a team as a code owner March 15, 2022 12:04
@coryan
Copy link
Contributor Author

coryan commented Mar 15, 2022

Manually tested on Windows+x86 and @ahnjs1987 reports this works on ARM32 too.

@coryan coryan merged commit 5251408 into googleapis:main Mar 15, 2022
@coryan coryan deleted the fix-storage-build-on-ARM32 branch March 15, 2022 13:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the Cloud Storage API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ARM32 compile problem..

3 participants