From 87f35fbd3ea4174d1e7dac94a4b055a97b0ec0c4 Mon Sep 17 00:00:00 2001 From: Aaron Gao Date: Fri, 12 May 2017 14:13:16 -0700 Subject: [PATCH] fix readamp test type inconsistency --- db/db_test2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;