summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/remote/bazel/bazel_response.cpp
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-08-12 16:10:21 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2022-09-13 10:51:13 +0200
commit9119de3a643f8adf2c4a12587e32577caa762b5a (patch)
treed1e01b98770002d5a27b0d95e317817fbf2eac40 /src/buildtool/execution_api/remote/bazel/bazel_response.cpp
parent693173e3b0ff9ddf3018e42b4e880f5aa18a978a (diff)
downloadjustbuild-9119de3a643f8adf2c4a12587e32577caa762b5a.tar.gz
Fix build with gcc/g++
Diffstat (limited to 'src/buildtool/execution_api/remote/bazel/bazel_response.cpp')
-rw-r--r--src/buildtool/execution_api/remote/bazel/bazel_response.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buildtool/execution_api/remote/bazel/bazel_response.cpp b/src/buildtool/execution_api/remote/bazel/bazel_response.cpp
index 395fd08e..d05517a1 100644
--- a/src/buildtool/execution_api/remote/bazel/bazel_response.cpp
+++ b/src/buildtool/execution_api/remote/bazel/bazel_response.cpp
@@ -63,7 +63,7 @@ auto BazelResponse::Artifacts() const noexcept -> ArtifactInfos {
// collect root digests from trees and store them
auto blob_reader = network_->ReadBlobs(tree_digests);
auto tree_blobs = blob_reader.Next();
- std::size_t pos{};
+ int pos{};
while (not tree_blobs.empty()) {
for (auto const& tree_blob : tree_blobs) {
try {