[Scummvm-cvs-logs] SF.net SVN: scummvm: [21264] scummvm/trunk/engines/kyra/sound_adlib.cpp
anotherguest at users.sourceforge.net
anotherguest at users.sourceforge.net
Mon Mar 13 13:39:04 CET 2006
Revision: 21264
Author: anotherguest
Date: 2006-03-13 13:38:20 -0800 (Mon, 13 Mar 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=21264&view=rev
Log Message:
-----------
Changed type for samplesleft in order for MIN macro to work properly on all platforms
Modified Paths:
--------------
scummvm/trunk/engines/kyra/sound_adlib.cpp
Modified: scummvm/trunk/engines/kyra/sound_adlib.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sound_adlib.cpp 2006-03-13 17:19:19 UTC (rev 21263)
+++ scummvm/trunk/engines/kyra/sound_adlib.cpp 2006-03-13 21:38:20 UTC (rev 21264)
@@ -48,7 +48,7 @@
// AudioStream API
int readBuffer(int16 *buffer, const int numSamples) {
- int samplesLeft = numSamples;
+ int32 samplesLeft = numSamples;
memset(buffer, 0, sizeof(int16) * numSamples);
while (samplesLeft) {
if (!_samplesTillCallback) {
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