mirror of
https://github.com/aria2/aria2.git
synced 2025-04-04 21:17:41 +03:00
Use int64_t instead of off_t
Some classes such as DiskAdaptor, DiskWriter, FileAllocationIterator and ChecksumValidator are left unchanged.
This commit is contained in:
parent
4b03634f36
commit
1b874268a0
83 changed files with 334 additions and 336 deletions
|
@ -119,7 +119,7 @@ void HandshakeExtensionMessageTest::testDoReceivedAction()
|
|||
CPPUNIT_ASSERT_EQUAL((uint8_t)2, peer->getExtensionMessageID("a2_dht"));
|
||||
CPPUNIT_ASSERT(peer->isSeeder());
|
||||
CPPUNIT_ASSERT_EQUAL((size_t)1024, attrs->metadataSize);
|
||||
CPPUNIT_ASSERT_EQUAL((off_t)1024, dctx->getTotalLength());
|
||||
CPPUNIT_ASSERT_EQUAL((int64_t)1024, dctx->getTotalLength());
|
||||
CPPUNIT_ASSERT(dctx->knowsTotalLength());
|
||||
|
||||
// See Peer is not marked as seeder if !attrs->metadata.empty()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue