[Scummvm-cvs-logs] SF.net SVN: scummvm:[43447] scummvm/trunk/sound/audiostream.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Sun Aug 16 19:38:09 CEST 2009
Revision: 43447
http://scummvm.svn.sourceforge.net/scummvm/?rev=43447&view=rev
Author: lordhoto
Date: 2009-08-16 17:38:09 +0000 (Sun, 16 Aug 2009)
Log Message:
-----------
Fix for bug #2838568 "AMIGAOS4: Compiler error in audiostream.cpp"
Modified Paths:
--------------
scummvm/trunk/sound/audiostream.cpp
Modified: scummvm/trunk/sound/audiostream.cpp
===================================================================
--- scummvm/trunk/sound/audiostream.cpp 2009-08-16 17:36:31 UTC (rev 43446)
+++ scummvm/trunk/sound/audiostream.cpp 2009-08-16 17:38:09 UTC (rev 43447)
@@ -277,7 +277,7 @@
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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list