diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-07 22:57:34 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2011-12-09 21:39:43 +0900 |
| commit | 12988e5282ef52a2806cbaca9f4074698f35e399 (patch) | |
| tree | 7a8d5a65a8e8478ba5855e84a1077baee1a2028d /src/FallocFileAllocationIterator.h | |
| parent | f25e67b0178511b26d55642f215a095321a169a8 (diff) | |
Replaced uint64_t with off_t or int64_t.
Since off_t is int64_t with LFS, we cannot take advantage of extra
capacity of uint64_t.
Diffstat (limited to 'src/FallocFileAllocationIterator.h')
| -rw-r--r-- | src/FallocFileAllocationIterator.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FallocFileAllocationIterator.h b/src/FallocFileAllocationIterator.h index e7e6fbc1..d43db3a6 100644 --- a/src/FallocFileAllocationIterator.h +++ b/src/FallocFileAllocationIterator.h @@ -45,10 +45,10 @@ class FallocFileAllocationIterator:public FileAllocationIterator { private: BinaryStream* stream_; off_t offset_; - uint64_t totalLength_; + off_t totalLength_; public: FallocFileAllocationIterator(BinaryStream* stream, off_t offset, - uint64_t totalLength); + off_t totalLength); virtual void allocateChunk(); @@ -56,7 +56,7 @@ public: virtual off_t getCurrentLength(); - virtual uint64_t getTotalLength(); + virtual off_t getTotalLength(); }; } // namespace aria2 |
