fix comparison between signed and unsigned

main
Igor Canadi 11 years ago
parent 7cf5728440
commit cbe7ffef9a
  1. 4
      utilities/backupable/backupable_db_test.cc

@ -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();
} }

Loading…
Cancel
Save