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/SingleFileAllocationIterator.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/SingleFileAllocationIterator.h') diff --git a/src/SingleFileAllocationIterator.h b/src/SingleFileAllocationIterator.h index a3d12602..b905aaea 100644 --- a/src/SingleFileAllocationIterator.h +++ b/src/SingleFileAllocationIterator.h @@ -48,11 +48,14 @@ private: off_t offset_; - uint64_t totalLength_; + off_t totalLength_; unsigned char* buffer_; public: - SingleFileAllocationIterator(BinaryStream* stream, off_t offset, uint64_t totalLength); + SingleFileAllocationIterator + (BinaryStream* stream, + off_t offset, + off_t totalLength); virtual ~SingleFileAllocationIterator(); @@ -65,7 +68,7 @@ public: return offset_; } - virtual uint64_t getTotalLength() + virtual off_t getTotalLength() { return totalLength_; } -- cgit