Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
EfesX committed Feb 27, 2025
1 parent fbf959d commit 208509a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/memory_results_gtest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ TEST_F(MemoryResultsTest, ResultsTest) {
RunSpecifiedBenchmarks(&reporter);
EXPECT_EQ(reporter.store.size(), N_REPETITIONS);

for (int64_t i = 0; i < reporter.store.size(); i++) {
for (int64_t i = 0; i < static_cast<int64_t>(reporter.store.size()); i++) {
EXPECT_EQ(reporter.store[i].num_allocs, i);
EXPECT_EQ(reporter.store[i].max_bytes_used, i * 2);
EXPECT_EQ(reporter.store[i].net_heap_growth, i * 4);
Expand Down

0 comments on commit 208509a

Please sign in to comment.