diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-03-09 12:24:01 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2008-03-09 12:24:01 +0000 |
| commit | 032c7c28083e17bdcfd763b3cf81447b06a07978 (patch) | |
| tree | e5cc5ceb050773165df41eb7f0aed3f2a48205a0 /src/SingleFileAllocationIterator.h | |
| parent | ca3f6e57f35c67f67c3b4f64cedded8ca23237e8 (diff) | |
2008-03-09 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
type cleanup for allmost all remaining files.
Diffstat (limited to 'src/SingleFileAllocationIterator.h')
| -rw-r--r-- | src/SingleFileAllocationIterator.h | 10 |
1 files changed, 5 insertions, 5 deletions
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; } |
