summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshfil <filip.gawin@zoho.com>2020-09-28 20:05:28 +0200
committerGitHub <noreply@github.com>2020-09-28 20:05:28 +0200
commit20167f341e16c1789c96996b63d1b94458eae96a (patch)
tree6b2d2ed558057e81d9d9252ff9120bc87f98dcd1
parentFixes: PS2/PS2-like menu, Hud, new sliding text found (diff)
parentchange for better understanding (diff)
downloadre3-20167f341e16c1789c96996b63d1b94458eae96a.tar
re3-20167f341e16c1789c96996b63d1b94458eae96a.tar.gz
re3-20167f341e16c1789c96996b63d1b94458eae96a.tar.bz2
re3-20167f341e16c1789c96996b63d1b94458eae96a.tar.lz
re3-20167f341e16c1789c96996b63d1b94458eae96a.tar.xz
re3-20167f341e16c1789c96996b63d1b94458eae96a.tar.zst
re3-20167f341e16c1789c96996b63d1b94458eae96a.zip
Diffstat (limited to '')
-rw-r--r--src/audio/AudioManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/audio/AudioManager.cpp b/src/audio/AudioManager.cpp
index 028df85e..754bce18 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);
}