summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/BStream.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/BStream.cc b/src/BStream.cc
index b8f5433..5400a6b 100644
--- a/src/BStream.cc
+++ b/src/BStream.cc
@@ -53,7 +53,7 @@ ssize_t Balau::BStream::read(void * _buf, size_t count) throw (Balau::GeneralExc
m_cursor = 0;
IAssert(m_availBytes == 0, "At this point, our internal buffer should be empty, but it's not: %zu", m_availBytes);
ssize_t r = m_h->read(m_buffer, s_blockSize);
- EAssert(r >= 0, "BStream got an error while reading: %zu", r);
+ EAssert(r >= 0, "BStream got an error while reading: %zi", r);
m_availBytes = r;
if (toCopy > m_availBytes)