diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-07 22:57:34 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-09 21:39:43 +0900 |
| commit | 12988e5282ef52a2806cbaca9f4074698f35e399 (patch) | |
| tree | 7a8d5a65a8e8478ba5855e84a1077baee1a2028d /test/ByteArrayDiskWriterTest.cc | |
| parent | f25e67b0178511b26d55642f215a095321a169a8 (diff) | |
Replaced uint64_t with off_t or int64_t.
Since off_t is int64_t with LFS, we cannot take advantage of extra
capacity of uint64_t.
Diffstat (limited to 'test/ByteArrayDiskWriterTest.cc')
| -rw-r--r-- | test/ByteArrayDiskWriterTest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ByteArrayDiskWriterTest.cc b/test/ByteArrayDiskWriterTest.cc index 002367c4..6630f970 100644 --- a/test/ByteArrayDiskWriterTest.cc +++ b/test/ByteArrayDiskWriterTest.cc @@ -43,7 +43,7 @@ void ByteArrayDiskWriterTest::testWriteAndRead() { buf[c] = '\0'; CPPUNIT_ASSERT_EQUAL(std::string("ello World !!"), std::string(buf)); - CPPUNIT_ASSERT_EQUAL((uint64_t)14, bw.size()); + CPPUNIT_ASSERT_EQUAL((off_t)14, bw.size()); } void ByteArrayDiskWriterTest::testWriteAndRead2() { @@ -59,7 +59,7 @@ void ByteArrayDiskWriterTest::testWriteAndRead2() { buf[c] = '\0'; CPPUNIT_ASSERT_EQUAL(std::string("Hello From Mars"), std::string(buf)); - CPPUNIT_ASSERT_EQUAL((uint64_t)15, bw.size()); + CPPUNIT_ASSERT_EQUAL((off_t)15, bw.size()); } } // namespace aria2 |
