From 36219517c52ad97ab96545c9289b82890861d77b Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 3 Jul 2019 15:48:30 +0200 Subject: Enable -Wall and fix a few warnings --- src/FileInput.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/FileInput.cpp') 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; -- cgit v1.2.3