[Scummvm-cvs-logs] SF.net SVN: scummvm: [32830] scummvm/trunk/engines/kyra/sound_towns.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sat Jun 28 18:00:07 CEST 2008


Revision: 32830
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32830&view=rev
Author:   eriktorbjorn
Date:     2008-06-28 09:00:04 -0700 (Sat, 28 Jun 2008)

Log Message:
-----------
Fixed warning. (Hopefully without breaking anything.)

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/sound_towns.cpp

Modified: scummvm/trunk/engines/kyra/sound_towns.cpp
===================================================================
--- scummvm/trunk/engines/kyra/sound_towns.cpp	2008-06-28 15:36:50 UTC (rev 32829)
+++ scummvm/trunk/engines/kyra/sound_towns.cpp	2008-06-28 16:00:04 UTC (rev 32830)
@@ -1716,13 +1716,13 @@
 		
 		lock();
 		uint32 dTime = _tickCounter + 2;
-		for (int i = 0; i < _numChan; i++) {
-			if (_updateChannelsFlag & _channels[i]->idFlag) {
-				uint8 tmp = _channels[i]->totalLevel + 3;
+		for (int j = 0; j < _numChan; j++) {
+			if (_updateChannelsFlag & _channels[j]->idFlag) {
+				uint8 tmp = _channels[j]->totalLevel + 3;
 				if (tmp > 0x7f)
 					tmp = 0x7f;
-				_channels[i]->totalLevel = tmp;
-				setOutputLevel(_channels[i]);
+				_channels[j]->totalLevel = tmp;
+				setOutputLevel(_channels[j]);
 			}
 		}
 		unlock();


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