diff options
Diffstat (limited to 'test/SingleFileAllocationIteratorTest.cc')
| -rw-r--r-- | test/SingleFileAllocationIteratorTest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/SingleFileAllocationIteratorTest.cc b/test/SingleFileAllocationIteratorTest.cc index ace14d9f..3e3e4eb0 100644 --- a/test/SingleFileAllocationIteratorTest.cc +++ b/test/SingleFileAllocationIteratorTest.cc @@ -32,7 +32,7 @@ void SingleFileAllocationIteratorTest::testAllocate() of.close(); File x(fn); - CPPUNIT_ASSERT_EQUAL((off_t)10, x.size()); + CPPUNIT_ASSERT_EQUAL((int64_t)10, x.size()); DefaultDiskWriter writer(fn); off_t offset = 10; @@ -47,7 +47,7 @@ void SingleFileAllocationIteratorTest::testAllocate() itr.allocateChunk(); } File f(fn); - CPPUNIT_ASSERT_EQUAL((off_t)40960, f.size()); + CPPUNIT_ASSERT_EQUAL((int64_t)40960, f.size()); } } // namespace aria2 |
