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.
This commit is contained in:
Tatsuhiro Tsujikawa 2011-12-07 22:57:34 +09:00
parent f25e67b017
commit 12988e5282
127 changed files with 457 additions and 490 deletions

View file

@ -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