mirror of
https://github.com/aria2/aria2.git
synced 2025-04-06 22:17:38 +03:00
Use int32_t for piece length instead of size_t
This commit is contained in:
parent
12988e5282
commit
9d15d732ed
45 changed files with 196 additions and 183 deletions
|
@ -66,9 +66,9 @@ void SegmentManTest::testNullBitfield()
|
|||
SharedHandle<Segment> segment = segmentMan.getSegment(1, minSplitSize);
|
||||
CPPUNIT_ASSERT(segment);
|
||||
CPPUNIT_ASSERT_EQUAL((size_t)0, segment->getIndex());
|
||||
CPPUNIT_ASSERT_EQUAL((size_t)0, segment->getLength());
|
||||
CPPUNIT_ASSERT_EQUAL((size_t)0, segment->getSegmentLength());
|
||||
CPPUNIT_ASSERT_EQUAL((size_t)0, segment->getWrittenLength());
|
||||
CPPUNIT_ASSERT_EQUAL(0, segment->getLength());
|
||||
CPPUNIT_ASSERT_EQUAL(0, segment->getSegmentLength());
|
||||
CPPUNIT_ASSERT_EQUAL(0, segment->getWrittenLength());
|
||||
|
||||
SharedHandle<Segment> segment2 = segmentMan.getSegment(2, minSplitSize);
|
||||
CPPUNIT_ASSERT(!segment2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue