From 827e31c746b64668f9ea67e07d9df706fd69668b Mon Sep 17 00:00:00 2001 From: erik Date: Mon, 29 Sep 2014 14:52:16 -0700 Subject: [PATCH] Make test use a compatible type in the size checks. --- db/db_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/db_test.cc b/db/db_test.cc index ab290d108..c09cc74df 100644 --- a/db/db_test.cc +++ b/db/db_test.cc @@ -1349,8 +1349,8 @@ TEST(DBTest, CompactedDB) { std::vector({Slice("aaa"), Slice("ccc"), Slice("eee"), Slice("ggg"), Slice("iii"), Slice("kkk")}), &values); - ASSERT_EQ(status_list.size(), 6); - ASSERT_EQ(values.size(), 6); + ASSERT_EQ(status_list.size(), static_cast(6)); + ASSERT_EQ(values.size(), static_cast(6)); ASSERT_OK(status_list[0]); ASSERT_EQ(DummyString(kFileSize / 2, 'a'), values[0]); ASSERT_TRUE(status_list[1].IsNotFound());