From 77e9a8bb42285c118a8a0d51fa166d838cc9f473 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Fri, 20 Dec 2013 20:23:03 -0800 Subject: Switching off_t to off64_t. --- includes/Buffer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'includes/Buffer.h') 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; }; }; -- cgit v1.2.3