Fix compile error.

Use constructor style initialization instead of a cast for
  simplicity.
main
Dmitri Smirnov 9 years ago
parent 1477dcb37d
commit 20d7902df9
  1. 2
      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_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<std::vector<std::pair<uint32_t, uint32_t>>> reads = { std::vector<std::vector<std::pair<uint32_t, uint32_t>>> reads = {

Loading…
Cancel
Save