Mercurial > hg > svcore
diff data/fileio/WavFileReader.cpp @ 1110:1517d4c60e88
Fix a number of warnings in the 32-bit build
author | Chris Cannam |
---|---|
date | Wed, 01 Jul 2015 15:53:54 +0100 |
parents | 48e4ffa9fb48 |
children | 457a1a619c5f 5b463c7727e5 |
line wrap: on
line diff
--- a/data/fileio/WavFileReader.cpp Fri Jun 12 12:41:19 2015 +0100 +++ b/data/fileio/WavFileReader.cpp Wed Jul 01 15:53:54 2015 +0100 @@ -147,7 +147,7 @@ } sv_frame_t n = count * m_fileInfo.channels; - m_buffer.resize(n); + m_buffer.resize(size_t(n)); sf_count_t readCount = 0; @@ -155,7 +155,7 @@ return SampleBlock(); } - m_buffer.resize(readCount * m_fileInfo.channels); + m_buffer.resize(size_t(readCount * m_fileInfo.channels)); m_lastStart = start; m_lastCount = readCount;