1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed a warning in recent commit

This commit is contained in:
hogliux 2016-10-03 15:06:14 +01:00
parent 40994fcdab
commit d892109298

View file

@ -177,7 +177,7 @@ bool BufferingAudioSource::waitForNextAudioBlockReady (const AudioSourceChannelI
return true;
}
if (! bufferReadyEvent.wait (endTime - now))
if (! bufferReadyEvent.wait (static_cast<int> (endTime - now)))
return false;
now = Time::getMillisecondCounter();