summaryrefslogtreecommitdiff
path: root/includes/Buffer.h
diff options
context:
space:
mode:
authorNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-12-20 20:23:03 -0800
committerNicolas "Pixel" Noble <pixel@nobis-crew.org>2013-12-20 20:23:03 -0800
commit77e9a8bb42285c118a8a0d51fa166d838cc9f473 (patch)
treeda289c71f009ce12c9e58ce943680a36f3d9cd11 /includes/Buffer.h
parent16594884da1c20c60fa1211c76939696547c02b5 (diff)
Switching off_t to off64_t.
Diffstat (limited to 'includes/Buffer.h')
-rw-r--r--includes/Buffer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/Buffer.h b/includes/Buffer.h
index a903ec9..c0d269a 100644
--- a/includes/Buffer.h
+++ b/includes/Buffer.h
@@ -17,14 +17,14 @@ class Buffer : public SeekableHandle {
virtual bool canRead();
virtual bool canWrite();
virtual const char * getName();
- virtual off_t getSize();
+ virtual off64_t getSize();
const uint8_t * getBuffer() { return m_buffer + rtell(); }
void reset();
void rewind() { rseek(0); wseek(0); }
private:
uint8_t * m_buffer = NULL;
bool m_fromConst = false;
- off_t m_bufSize = 0, m_numBlocks = 0;
+ off64_t m_bufSize = 0, m_numBlocks = 0;
};
};