summaryrefslogtreecommitdiff
path: root/src/AdaptiveFileAllocationIterator.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-07 22:57:34 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2011-12-09 21:39:43 +0900
commit12988e5282ef52a2806cbaca9f4074698f35e399 (patch)
tree7a8d5a65a8e8478ba5855e84a1077baee1a2028d /src/AdaptiveFileAllocationIterator.h
parentf25e67b0178511b26d55642f215a095321a169a8 (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/AdaptiveFileAllocationIterator.h')
-rw-r--r--src/AdaptiveFileAllocationIterator.h6
1 files changed, 3 insertions, 3 deletions
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