diff --git a/db/plain_table_db_test.cc b/db/plain_table_db_test.cc index ff07def96..e3d9fc402 100644 --- a/db/plain_table_db_test.cc +++ b/db/plain_table_db_test.cc @@ -68,7 +68,7 @@ TEST_F(PlainTableKeyDecoderTest, ReadNonMmap) { ASSERT_EQ(0, out.compare(tmp.substr(pos, read_size))); } - ASSERT_LT(string_source->total_reads(), kLength / kReadSize / 2); + ASSERT_LT(uint32_t(string_source->total_reads()), kLength / kReadSize / 2); } std::vector>> reads = {