aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-08-16 17:38:09 +0000
committerJohannes Schickel2009-08-16 17:38:09 +0000
commit582eb13fa2680a60ac5d1770c450fabfbc15a1b5 (patch)
tree964a0ff419c3fd6b14bb605ba435eca1e8a0e208
parentc88cf041a4b805f4af161630b37fa2a21d27e068 (diff)
downloadscummvm-rg350-582eb13fa2680a60ac5d1770c450fabfbc15a1b5.tar.gz
scummvm-rg350-582eb13fa2680a60ac5d1770c450fabfbc15a1b5.tar.bz2
scummvm-rg350-582eb13fa2680a60ac5d1770c450fabfbc15a1b5.zip
Fix for bug #2838568 "AMIGAOS4: Compiler error in audiostream.cpp"
svn-id: r43447
-rw-r--r--sound/audiostream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/audiostream.cpp b/sound/audiostream.cpp
index 8ea72851e2..57d2e097bf 100644
--- a/sound/audiostream.cpp
+++ b/sound/audiostream.cpp
@@ -277,7 +277,7 @@ int LinearDiskStream<stereo, is16Bit, isUnsigned, isLE>::readBuffer(int16 *buffe
while (samples > 0 && ((_diskLeft > 0 || _bufferLeft > 0) || (_currentBlock != _audioBlockCount - 1)) ) {
// Output samples in the buffer to the output
- int len = MIN(samples, _bufferLeft);
+ int len = MIN<int>(samples, _bufferLeft);
samples -= len;
_bufferLeft -= len;