diff --git a/db/db_table_properties_test.cc b/db/db_table_properties_test.cc index fef81795b..f1f4558c5 100644 --- a/db/db_table_properties_test.cc +++ b/db/db_table_properties_test.cc @@ -188,7 +188,7 @@ TEST_F(DBTablePropertiesTest, GetPropertiesOfTablesInRange) { // create a bunch of ranges std::vector random_keys; auto n = 2 * rnd.Uniform(50); - for (int i = 0; i < n; ++i) { + for (uint32_t i = 0; i < n; ++i) { random_keys.push_back(test::RandomKey(&rnd, 5)); }