diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-06-25 23:35:24 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-06-25 23:35:24 +0900 |
| commit | 1b874268a067b4aba0e329768b82df635d7cae17 (patch) | |
| tree | f72263f15286a6c3372d87571c261789ff8c87f7 /test/FallocFileAllocationIteratorTest.cc | |
| parent | 4b03634f36b05c32737aeea8ca178f53f68052e8 (diff) | |
Use int64_t instead of off_t
Some classes such as DiskAdaptor, DiskWriter, FileAllocationIterator
and ChecksumValidator are left unchanged.
Diffstat (limited to 'test/FallocFileAllocationIteratorTest.cc')
| -rw-r--r-- | test/FallocFileAllocationIteratorTest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/FallocFileAllocationIteratorTest.cc b/test/FallocFileAllocationIteratorTest.cc index 04037bcc..baa18686 100644 --- a/test/FallocFileAllocationIteratorTest.cc +++ b/test/FallocFileAllocationIteratorTest.cc @@ -35,7 +35,7 @@ void FallocFileAllocationIteratorTest::testAllocate() of.close(); File f(fn); - CPPUNIT_ASSERT_EQUAL((off_t)10, f.size()); + CPPUNIT_ASSERT_EQUAL((int64_t)10, f.size()); DefaultDiskWriter writer(fn); int64_t offset = 10; @@ -48,7 +48,7 @@ void FallocFileAllocationIteratorTest::testAllocate() itr.allocateChunk(); CPPUNIT_ASSERT(itr.finished()); - CPPUNIT_ASSERT_EQUAL((off_t)40960, f.size()); + CPPUNIT_ASSERT_EQUAL((int64_t)40960, f.size()); #endif // !HAVE_FALLOCATE } |
