diff --git a/db/db_test2.cc b/db/db_test2.cc index 8c83c0d16..8f4096b6f 100644 --- a/db/db_test2.cc +++ b/db/db_test2.cc @@ -1640,7 +1640,7 @@ size_t GetEncodedEntrySize(size_t key_size, size_t value_size) { TEST_F(DBTest2, ReadAmpBitmap) { Options options = CurrentOptions(); BlockBasedTableOptions bbto; - size_t bytes_per_bit[2] = {1, 16}; + uint32_t bytes_per_bit[2] = {1, 16}; for (size_t k = 0; k < 2; k++) { // Disable delta encoding to make it easier to calculate read amplification bbto.use_delta_encoding = false;