[Scummvm-cvs-logs] SF.net SVN: scummvm:[45419] scummvm/trunk/engines/tinsel/heapmem.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Mon Oct 26 22:08:21 CET 2009


Revision: 45419
          http://scummvm.svn.sourceforge.net/scummvm/?rev=45419&view=rev
Author:   fingolfin
Date:     2009-10-26 21:08:15 +0000 (Mon, 26 Oct 2009)

Log Message:
-----------
TINSEL: Fix warning again

Modified Paths:
--------------
    scummvm/trunk/engines/tinsel/heapmem.cpp

Modified: scummvm/trunk/engines/tinsel/heapmem.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/heapmem.cpp	2009-10-26 20:38:34 UTC (rev 45418)
+++ scummvm/trunk/engines/tinsel/heapmem.cpp	2009-10-26 21:08:15 UTC (rev 45419)
@@ -465,7 +465,7 @@
 
 	if (size != pMemNode->size) {
 		// make sure memory object is discarded and not locked
-		assert(pMemNode->flags == DWM_USED | DWM_DISCARDED);
+		assert(pMemNode->flags == (DWM_USED | DWM_DISCARDED));
 		assert(pMemNode->size == 0);
 
 		// unlink the mnode from the current heap


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