More s/us fixes

This commit is contained in:
Igor Canadi 2014-04-29 13:25:23 -07:00
parent 2e11e47c7c
commit d6d67c0efe
2 changed files with 2 additions and 2 deletions

View File

@ -347,7 +347,7 @@ TEST(ColumnFamilyTest, DontReuseColumnFamilyID) {
CreateColumnFamilies({"three2"}); CreateColumnFamilies({"three2"});
// ID 3 that was used for dropped column family "three" should not be reused // ID 3 that was used for dropped column family "three" should not be reused
auto cfh3 = reinterpret_cast<ColumnFamilyHandleImpl*>(handles_[3]); auto cfh3 = reinterpret_cast<ColumnFamilyHandleImpl*>(handles_[3]);
ASSERT_EQ(4, cfh3->GetID()); ASSERT_EQ(4U, cfh3->GetID());
Close(); Close();
Destroy(); Destroy();
} }

View File

@ -179,7 +179,7 @@ class TestEnv : public EnvWrapper {
} }
virtual Status DeleteFile(const std::string& fname) override { virtual Status DeleteFile(const std::string& fname) override {
ASSERT_GT(limit_delete_files_, 0); ASSERT_GT(limit_delete_files_, 0U);
limit_delete_files_--; limit_delete_files_--;
return EnvWrapper::DeleteFile(fname); return EnvWrapper::DeleteFile(fname);
} }