summaryrefslogtreecommitdiff
path: root/src/Buffer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Buffer.cc')
-rw-r--r--src/Buffer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Buffer.cc b/src/Buffer.cc
index b4dfbec..766206b 100644
--- a/src/Buffer.cc
+++ b/src/Buffer.cc
@@ -22,7 +22,7 @@ ssize_t Balau::Buffer::read(void * buf, size_t count) throw (GeneralException) {
off64_t cursor = rtell();
if (cursor >= m_bufSize)
return 0;
- off64_t avail = m_bufSize - cursor;
+ size_t avail = m_bufSize - cursor;
if (count > avail)
count = avail;