diff options
author | Johannes Schickel | 2010-09-17 21:28:24 +0000 |
---|---|---|
committer | Johannes Schickel | 2010-09-17 21:28:24 +0000 |
commit | 9f273b31aab8139e04391b22b27198cacdce4115 (patch) | |
tree | 2907afee3548edccee504eb28045f7a917f29445 /engines | |
parent | 5abbe7204eee6af75348c171abafe2767b416002 (diff) | |
download | scummvm-rg350-9f273b31aab8139e04391b22b27198cacdce4115.tar.gz scummvm-rg350-9f273b31aab8139e04391b22b27198cacdce4115.tar.bz2 scummvm-rg350-9f273b31aab8139e04391b22b27198cacdce4115.zip |
SCI: Fix compilation on AmigaOS.
svn-id: r52784
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/sound/drivers/cms.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/sound/drivers/cms.cpp b/engines/sci/sound/drivers/cms.cpp index 7f3ffa014e..b7b13550c0 100644 --- a/engines/sci/sound/drivers/cms.cpp +++ b/engines/sci/sound/drivers/cms.cpp @@ -588,7 +588,7 @@ void MidiDriver_CMS::generateSamples(int16 *buffer, int len) { } } - int32 render = MIN(len, _samplesTillCallback); + int32 render = MIN<int32>(len, _samplesTillCallback); len -= render; _samplesTillCallback -= render; _cms->readBuffer(buffer, render); |