From 12988e5282ef52a2806cbaca9f4074698f35e399 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Wed, 7 Dec 2011 22:57:34 +0900 Subject: 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. --- src/AdaptiveFileAllocationIterator.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/AdaptiveFileAllocationIterator.h') diff --git a/src/AdaptiveFileAllocationIterator.h b/src/AdaptiveFileAllocationIterator.h index 8a3f2e3b..36217e6f 100644 --- a/src/AdaptiveFileAllocationIterator.h +++ b/src/AdaptiveFileAllocationIterator.h @@ -50,10 +50,10 @@ private: off_t offset_; - uint64_t totalLength_; + off_t totalLength_; public: AdaptiveFileAllocationIterator - (BinaryStream* stream, off_t offset, uint64_t totalLength); + (BinaryStream* stream, off_t offset, off_t totalLength); virtual ~AdaptiveFileAllocationIterator(); @@ -63,7 +63,7 @@ public: virtual off_t getCurrentLength(); - virtual uint64_t getTotalLength(); + virtual off_t getTotalLength(); }; } // namespace aria2 -- cgit