Fix compile error.

Use constructor style initialization instead of a cast for
  simplicity.
This commit is contained in:
Dmitri Smirnov 2016-01-11 16:10:48 -08:00
parent 1477dcb37d
commit 20d7902df9

View File

@ -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<std::vector<std::pair<uint32_t, uint32_t>>> reads = {