mirror of
https://github.com/aria2/aria2.git
synced 2025-04-05 13:37:40 +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
|
@ -26,7 +26,7 @@ class GZipDecodingStreamFilterTest:public CppUnit::TestFixture {
|
|||
|
||||
class MockSegment2:public MockSegment {
|
||||
private:
|
||||
off_t positionToWrite_;
|
||||
int64_t positionToWrite_;
|
||||
public:
|
||||
MockSegment2():positionToWrite_(0) {}
|
||||
|
||||
|
@ -35,7 +35,7 @@ class GZipDecodingStreamFilterTest:public CppUnit::TestFixture {
|
|||
positionToWrite_ += bytes;
|
||||
}
|
||||
|
||||
virtual off_t getPositionToWrite() const
|
||||
virtual int64_t getPositionToWrite() const
|
||||
{
|
||||
return positionToWrite_;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue