summaryrefslogtreecommitdiff
path: root/src/SingleFileAllocationIterator.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-03-09 12:24:01 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-03-09 12:24:01 +0000
commit032c7c28083e17bdcfd763b3cf81447b06a07978 (patch)
treee5cc5ceb050773165df41eb7f0aed3f2a48205a0 /src/SingleFileAllocationIterator.h
parentca3f6e57f35c67f67c3b4f64cedded8ca23237e8 (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.h10
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;
}