diff options
author | Oliver Reiche <oliver.reiche@huawei.com> | 2024-12-16 13:39:36 +0100 |
---|---|---|
committer | Oliver Reiche <oliver.reiche@huawei.com> | 2024-12-19 16:17:46 +0100 |
commit | e2b6d9d3c41d162517019ee0bf9147e398a5b1fa (patch) | |
tree | 248f0a50ec1183836a8257580779cac79ccf51f5 /test/buildtool/file_system | |
parent | 827f05a53cb831bd54166ee812752ae3cce2b69b (diff) | |
download | justbuild-e2b6d9d3c41d162517019ee0bf9147e398a5b1fa.tar.gz |
Fix cause of minor warnings
Diffstat (limited to 'test/buildtool/file_system')
-rw-r--r-- | test/buildtool/file_system/resolve_symlinks_map.test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/buildtool/file_system/resolve_symlinks_map.test.cpp b/test/buildtool/file_system/resolve_symlinks_map.test.cpp index 729e3c54..c6e69f65 100644 --- a/test/buildtool/file_system/resolve_symlinks_map.test.cpp +++ b/test/buildtool/file_system/resolve_symlinks_map.test.cpp @@ -151,7 +151,7 @@ TEST_CASE("Resolve symlinks", "[resolve_symlinks_map]") { source_cas, source_cas)}, [&expected, &source_cas](auto const& values) { - for (auto i = 0; i < kNumCases; ++i) { + for (std::size_t i = 0; i < kNumCases; ++i) { auto const& res = ResolvedGitObject{*values[i]}; CHECK(res.id == expected[i].id); CHECK(res.type == expected[i].type); @@ -207,7 +207,7 @@ TEST_CASE("Resolve symlinks", "[resolve_symlinks_map]") { source_cas, target_cas)}, [&expected, &target_cas](auto const& values) { - for (auto i = 0; i < kNumCases; ++i) { + for (std::size_t i = 0; i < kNumCases; ++i) { auto const& res = ResolvedGitObject{*values[i]}; CHECK(res.id == expected[i].id); CHECK(res.type == expected[i].type); |