From cbe7ffef9a2f63c44eb4f8d27cae2e5313b91069 Mon Sep 17 00:00:00 2001 From: Igor Canadi Date: Tue, 10 Dec 2013 10:48:49 -0800 Subject: [PATCH] fix comparison between signed and unsigned --- utilities/backupable/backupable_db_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utilities/backupable/backupable_db_test.cc b/utilities/backupable/backupable_db_test.cc index 58fb036e5..738e11b91 100644 --- a/utilities/backupable/backupable_db_test.cc +++ b/utilities/backupable/backupable_db_test.cc @@ -435,9 +435,9 @@ TEST(BackupableDBTest, NoDoubleCopy) { // MANIFEST file size should be only 100 uint64_t size; test_backup_env_->GetFileSize(backupdir_ + "/private/2/MANIFEST-01", &size); - ASSERT_EQ(100, size); + ASSERT_EQ(100UL, size); test_backup_env_->GetFileSize(backupdir_ + "/shared/00015.sst", &size); - ASSERT_EQ(200, size); + ASSERT_EQ(200UL, size); CloseBackupableDB(); }