fix comparison between signed and unsigned

This commit is contained in:
Igor Canadi 2013-12-10 10:48:49 -08:00
parent 7cf5728440
commit cbe7ffef9a

View File

@ -435,9 +435,9 @@ TEST(BackupableDBTest, NoDoubleCopy) {
// MANIFEST file size should be only 100 // MANIFEST file size should be only 100
uint64_t size; uint64_t size;
test_backup_env_->GetFileSize(backupdir_ + "/private/2/MANIFEST-01", &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); test_backup_env_->GetFileSize(backupdir_ + "/shared/00015.sst", &size);
ASSERT_EQ(200, size); ASSERT_EQ(200UL, size);
CloseBackupableDB(); CloseBackupableDB();
} }