diff options
Diffstat (limited to 'src/FileInput.cpp')
-rw-r--r-- | src/FileInput.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FileInput.cpp b/src/FileInput.cpp index 5eb39ee..51b0456 100644 --- a/src/FileInput.cpp +++ b/src/FileInput.cpp @@ -101,7 +101,7 @@ bool FileInput::read_source(size_t num_bytes) m_queue.push(samplebuf.data(), ret); } - if (ret < num_bytes) { + if (ret < (ssize_t)num_bytes) { if (m_raw_input) { if (ferror(m_in_fh)) { return false; |