Fix clang warning.

This commit is contained in:
Stephen Anthony 2020-12-06 22:23:42 -03:30
parent 3eec0defce
commit 82392944ad
1 changed files with 2 additions and 2 deletions

View File

@ -459,8 +459,8 @@ void FrameBuffer::update(UpdateMode mode)
frames = std::round(std::sqrt(stateFrames));
// Mute sound if saved states were removed or states are too far apart
myOSystem.sound().mute(stateFrames > intervalFrames
|| frames > myOSystem.audioSettings().bufferSize() / 2 + 1);
myOSystem.sound().mute(stateFrames > intervalFrames ||
frames > static_cast<int>(myOSystem.audioSettings().bufferSize() / 2 + 1));
}
redraw |= success;
if(redraw)