diff options
Diffstat (limited to 'src/FallocFileAllocationIterator.h')
| -rw-r--r-- | src/FallocFileAllocationIterator.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/FallocFileAllocationIterator.h b/src/FallocFileAllocationIterator.h index d43db3a6..dbe47e5d 100644 --- a/src/FallocFileAllocationIterator.h +++ b/src/FallocFileAllocationIterator.h @@ -44,19 +44,19 @@ namespace aria2 { class FallocFileAllocationIterator:public FileAllocationIterator { private: BinaryStream* stream_; - off_t offset_; - off_t totalLength_; + int64_t offset_; + int64_t totalLength_; public: - FallocFileAllocationIterator(BinaryStream* stream, off_t offset, - off_t totalLength); + FallocFileAllocationIterator(BinaryStream* stream, int64_t offset, + int64_t totalLength); virtual void allocateChunk(); virtual bool finished(); - virtual off_t getCurrentLength(); + virtual int64_t getCurrentLength(); - virtual off_t getTotalLength(); + virtual int64_t getTotalLength(); }; } // namespace aria2 |
