summaryrefslogtreecommitdiff
path: root/test/SingleFileAllocationIteratorTest.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-03-09 12:24:01 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-03-09 12:24:01 +0000
commit032c7c28083e17bdcfd763b3cf81447b06a07978 (patch)
treee5cc5ceb050773165df41eb7f0aed3f2a48205a0 /test/SingleFileAllocationIteratorTest.cc
parentca3f6e57f35c67f67c3b4f64cedded8ca23237e8 (diff)
2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
type cleanup for allmost all remaining files.
Diffstat (limited to 'test/SingleFileAllocationIteratorTest.cc')
-rw-r--r--test/SingleFileAllocationIteratorTest.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SingleFileAllocationIteratorTest.cc b/test/SingleFileAllocationIteratorTest.cc
index e238b181..39d2bc02 100644
--- a/test/SingleFileAllocationIteratorTest.cc
+++ b/test/SingleFileAllocationIteratorTest.cc
@@ -32,7 +32,7 @@ void SingleFileAllocationIteratorTest::testAllocate()
of.close();
File x(fn);
- CPPUNIT_ASSERT_EQUAL((int64_t)10, x.size());
+ CPPUNIT_ASSERT_EQUAL((uint64_t)10, x.size());
DefaultDiskWriter writer;
int64_t offset = 10;
@@ -47,7 +47,7 @@ void SingleFileAllocationIteratorTest::testAllocate()
itr.allocateChunk();
}
File f(fn);
- CPPUNIT_ASSERT_EQUAL((int64_t)40960, f.size());
+ CPPUNIT_ASSERT_EQUAL((uint64_t)40960, f.size());
}
} // namespace aria2