# HG changeset patch # User Chris Cannam # Date 1544103420 0 # Node ID ff18abb885637889dbf064f63de3da475bb871fe # Parent c8fad3c14a2b1f82c3fd5f9763905961e1658589 Fix some warnings diff -r c8fad3c14a2b -r ff18abb88563 data/fileio/BQAFileReader.cpp --- a/data/fileio/BQAFileReader.cpp Thu Dec 06 12:50:28 2018 +0000 +++ b/data/fileio/BQAFileReader.cpp Thu Dec 06 13:37:00 2018 +0000 @@ -58,8 +58,8 @@ return; } - m_channelCount = m_stream->getChannelCount(); - m_fileRate = m_stream->getSampleRate(); + m_channelCount = int(m_stream->getChannelCount()); + m_fileRate = sv_samplerate_t(m_stream->getSampleRate()); initialiseDecodeCache(); @@ -185,7 +185,7 @@ } bool -BQAFileReader::supportsContentType(QString type) +BQAFileReader::supportsContentType(QString) { //!!! todo return false;