From 86826a1550e5c93427728f9b05a19fe4a2d35f97 Mon Sep 17 00:00:00 2001 From: Lin Huang Date: Thu, 20 Feb 2025 14:56:50 -0500 Subject: [PATCH] Fix a warning of comparison of integer expressions of different signedness in nonprune_to_prune_on_start test --- tests/block_log.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/block_log.cpp b/tests/block_log.cpp index 907485c3d7..0c2b9b07c6 100644 --- a/tests/block_log.cpp +++ b/tests/block_log.cpp @@ -652,7 +652,7 @@ BOOST_DATA_TEST_CASE(nonprune_to_prune_on_start, bdata::make({1, 1500}) * bdata: const unsigned num_blocks_to_add = prune_blocks*3; unsigned next_block = starting_block == 1 ? 2 : starting_block; - for(unsigned i = 0; i < prune_blocks*3; ++i) + for(auto i = 0; i < prune_blocks*3; ++i) t.add(next_block++, payload_size(), 'z'); t.check_n_bounce([&]() {});