diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-10 19:06:09 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-10 19:06:09 +0900 |
| commit | 3637291c22d43439c03c928231a38840306ade30 (patch) | |
| tree | e998dafaae2b12ce86942b9a996cd99c5c8a704f /test/FallocFileAllocationIteratorTest.cc | |
| parent | ebc082747c43d8fecbe7b38052277dd0391c7269 (diff) | |
Fixed compile warning/error with mingw32
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 a6b2b8f4..04037bcc 100644 --- a/test/FallocFileAllocationIteratorTest.cc +++ b/test/FallocFileAllocationIteratorTest.cc @@ -35,7 +35,7 @@ void FallocFileAllocationIteratorTest::testAllocate() of.close(); File f(fn); - CPPUNIT_ASSERT_EQUAL((uint64_t)10, f.size()); + CPPUNIT_ASSERT_EQUAL((off_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((uint64_t)40960, f.size()); + CPPUNIT_ASSERT_EQUAL((off_t)40960, f.size()); #endif // !HAVE_FALLOCATE } |
