[Scummvm-git-logs] scummvm master -> 0f863703a67e172aee38a6f3c25c97cfb25fc68f
sev-
noreply at scummvm.org
Sun Jun 21 21:01:24 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
0f863703a6 AUDIO: Fix compilation on some platforms
Commit: 0f863703a67e172aee38a6f3c25c97cfb25fc68f
https://github.com/scummvm/scummvm/commit/0f863703a67e172aee38a6f3c25c97cfb25fc68f
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2026-06-21T23:01:13+02:00
Commit Message:
AUDIO: Fix compilation on some platforms
Changed paths:
audio/rate.cpp
diff --git a/audio/rate.cpp b/audio/rate.cpp
index 7ebf1e88af9..eac9fb350c3 100644
--- a/audio/rate.cpp
+++ b/audio/rate.cpp
@@ -265,7 +265,7 @@ int RateConverter_Impl<inStereo, outStereo, reverseStereo>::downsampleConvert(Au
}
// Process as many samples as we can from the current buffer
- const int count = MIN(
+ const int count = MIN<int>(
_bufferSize / (inStereo ? 2 : 1) / outPos_inc,
(int)(outEnd - outBuffer) / (outStereo ? 2 : 1));
_bufferSize -= count * outPos_inc * (inStereo ? 2 : 1);
More information about the Scummvm-git-logs
mailing list