diff options
author | Roman Masanin <36927roma@gmail.com> | 2020-09-28 02:29:45 +0200 |
---|---|---|
committer | Roman Masanin <36927roma@gmail.com> | 2020-09-28 02:29:45 +0200 |
commit | 37e382c7581426d38d482a27f53c522af184df77 (patch) | |
tree | 99020dcfead07735d5ea8999e378e7feb68b34f7 /src/audio/AudioManager.cpp | |
parent | Fix RotateY (diff) | |
download | re3-37e382c7581426d38d482a27f53c522af184df77.tar re3-37e382c7581426d38d482a27f53c522af184df77.tar.gz re3-37e382c7581426d38d482a27f53c522af184df77.tar.bz2 re3-37e382c7581426d38d482a27f53c522af184df77.tar.lz re3-37e382c7581426d38d482a27f53c522af184df77.tar.xz re3-37e382c7581426d38d482a27f53c522af184df77.tar.zst re3-37e382c7581426d38d482a27f53c522af184df77.zip |
Diffstat (limited to 'src/audio/AudioManager.cpp')
-rw-r--r-- | src/audio/AudioManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp index 58483602..cd01fb59 100644 --- a/src/audio/AudioManager.cpp +++ b/src/audio/AudioManager.cpp @@ -794,7 +794,7 @@ cAudioManager::ProcessActiveQueues() if (sample.m_nFrequency != m_asActiveSamples[j].m_nFrequency) { int32 freq; if (sample.m_nFrequency <= m_asActiveSamples[j].m_nFrequency) { - freq = Max(sample.m_nFrequency, m_asActiveSamples[j].m_nFrequency - 6000); + freq = Max((int32)sample.m_nFrequency, (int32)(m_asActiveSamples[j].m_nFrequency - 6000)); } else { freq = Min(sample.m_nFrequency, m_asActiveSamples[j].m_nFrequency + 6000); } |