diff --git a/db/plain_table_db_test.cc b/db/plain_table_db_test.cc index 52c7478a4..b4e983a7b 100644 --- a/db/plain_table_db_test.cc +++ b/db/plain_table_db_test.cc @@ -773,12 +773,12 @@ TEST_P(PlainTableDBTest, BloomSchema) { uint32_t pattern; if (!bloom_locality) { pattern = 1785868347UL; - } else if (CACHE_LINE_SIZE == 64) { + } else if (CACHE_LINE_SIZE == 64U) { pattern = 2421694657UL; - } else if (CACHE_LINE_SIZE == 128) { + } else if (CACHE_LINE_SIZE == 128U) { pattern = 788710956UL; } else { - ASSERT_EQ(CACHE_LINE_SIZE, 256); + ASSERT_EQ(CACHE_LINE_SIZE, 256U); pattern = 163905UL; } bool expect_fp = pattern & (1UL << i);