From d6d67c0efe815afb33c832b7db46a7058621be2d Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Tue, 29 Apr 2014 13:25:23 -0700 Subject: [PATCH] More s/us fixes --- db/column_family_test.cc | 2 +- utilities/backupable/backupable_db_test.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/column_family_test.cc b/db/column_family_test.cc index c60da834a..dc0323717 100644 --- a/db/column_family_test.cc +++ b/db/column_family_test.cc @@ -347,7 +347,7 @@ TEST(ColumnFamilyTest, DontReuseColumnFamilyID) { CreateColumnFamilies({"three2"}); // ID 3 that was used for dropped column family "three" should not be reused auto cfh3 = reinterpret_cast(handles_[3]); - ASSERT_EQ(4, cfh3->GetID()); + ASSERT_EQ(4U, cfh3->GetID()); Close(); Destroy(); } diff --git a/utilities/backupable/backupable_db_test.cc b/utilities/backupable/backupable_db_test.cc index 563800556..0dd75c099 100644 --- a/utilities/backupable/backupable_db_test.cc +++ b/utilities/backupable/backupable_db_test.cc @@ -179,7 +179,7 @@ class TestEnv : public EnvWrapper { } virtual Status DeleteFile(const std::string& fname) override { - ASSERT_GT(limit_delete_files_, 0); + ASSERT_GT(limit_delete_files_, 0U); limit_delete_files_--; return EnvWrapper::DeleteFile(fname); }