neatened up a line

This commit is contained in:
Chris Esposito 2019-02-17 19:20:03 +11:00
parent 1479d95f97
commit 07997d5774
1 changed files with 2 additions and 1 deletions

View File

@ -298,7 +298,8 @@ int isoBuffer::capSample(int offset, int target, double seconds, double value, F
{
int samples = seconds * m_samplesPerSecond;
if (int32_t(m_back) < samples + offset) return -1;
if (static_cast<int32_t>(m_back) < (samples + offset))
return -1;
short sample = inverseSampleConvert(value, 2048, 0);