From 032c7c28083e17bdcfd763b3cf81447b06a07978 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 9 Mar 2008 12:24:01 +0000 Subject: 2008-03-09 Tatsuhiro Tsujikawa type cleanup for allmost all remaining files. --- src/SingleFileAllocationIterator.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/SingleFileAllocationIterator.h') diff --git a/src/SingleFileAllocationIterator.h b/src/SingleFileAllocationIterator.h index 624ab11d..60e56105 100644 --- a/src/SingleFileAllocationIterator.h +++ b/src/SingleFileAllocationIterator.h @@ -46,13 +46,13 @@ class SingleFileAllocationIterator:public FileAllocationIterator private: BinaryStream* _stream; - int64_t _offset; + off_t _offset; - int64_t _totalLength; + uint64_t _totalLength; unsigned char* _buffer; public: - SingleFileAllocationIterator(BinaryStream* stream, int64_t offset, int64_t totalLength); + SingleFileAllocationIterator(BinaryStream* stream, off_t offset, uint64_t totalLength); virtual ~SingleFileAllocationIterator(); @@ -60,12 +60,12 @@ public: virtual bool finished(); - virtual int64_t getCurrentLength() + virtual off_t getCurrentLength() { return _offset; } - virtual int64_t getTotalLength() + virtual uint64_t getTotalLength() { return _totalLength; } -- cgit