[Scummvm-cvs-logs] SF.net SVN: scummvm:[54244] scummvm/trunk/engines/lastexpress/game/sound. cpp

mthreepwood at users.sourceforge.net mthreepwood at users.sourceforge.net
Mon Nov 15 16:20:48 CET 2010


Revision: 54244
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54244&view=rev
Author:   mthreepwood
Date:     2010-11-15 15:20:48 +0000 (Mon, 15 Nov 2010)

Log Message:
-----------
LASTEXPRESS: Don't use NULL in arithmetic (silences a warning)

Modified Paths:
--------------
    scummvm/trunk/engines/lastexpress/game/sound.cpp

Modified: scummvm/trunk/engines/lastexpress/game/sound.cpp
===================================================================
--- scummvm/trunk/engines/lastexpress/game/sound.cpp	2010-11-15 13:37:06 UTC (rev 54243)
+++ scummvm/trunk/engines/lastexpress/game/sound.cpp	2010-11-15 15:20:48 UTC (rev 54244)
@@ -657,7 +657,7 @@
 		updateEntryState(entry);
 	}
 
-	bool isPlaying = (entry->type != NULL);
+	bool isPlaying = (entry->type != kSoundTypeNone);
 
 	_mutex.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