summaryrefslogtreecommitdiff
path: root/includes/Buffer.h
diff options
context:
space:
mode:
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;
};
};