mirror of
https://github.com/aria2/aria2.git
synced 2025-04-07 06:27:37 +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
|
@ -51,7 +51,7 @@ void PieceTest::testCompleteBlock()
|
|||
|
||||
void PieceTest::testGetCompletedLength()
|
||||
{
|
||||
size_t blockLength = 16*1024;
|
||||
int32_t blockLength = 16*1024;
|
||||
Piece p(0, blockLength*10+100, blockLength);
|
||||
|
||||
p.completeBlock(1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue