Skip to content

Commit 7f9438d

Browse files
authored
Merge pull request #1193 from AntelopeIO/merge_fix_diff_sign_comp_warning
[1.1.1 -> main] Fix a warning of comparison of integer expressions of different signedness in nonprune_to_prune_on_start testarning
2 parents d762973 + a6cb479 commit 7f9438d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/block_log.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ BOOST_DATA_TEST_CASE(nonprune_to_prune_on_start, bdata::make({1, 1500}) * bdata:
652652

653653
const unsigned num_blocks_to_add = prune_blocks*3;
654654
unsigned next_block = starting_block == 1 ? 2 : starting_block;
655-
for(unsigned i = 0; i < prune_blocks*3; ++i)
655+
for(auto i = 0; i < prune_blocks*3; ++i)
656656
t.add(next_block++, payload_size(), 'z');
657657
t.check_n_bounce([&]() {});
658658

0 commit comments

Comments
 (0)