From 9119de3a643f8adf2c4a12587e32577caa762b5a Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Fri, 12 Aug 2022 16:10:21 +0200 Subject: Fix build with gcc/g++ --- src/buildtool/execution_api/remote/bazel/bazel_response.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/buildtool/execution_api/remote/bazel/bazel_response.cpp') 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 { -- cgit v1.2.3