[Scummvm-cvs-logs] SF.net SVN: scummvm: [20829] scummvm/trunk/engines/gob

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Thu Feb 23 09:52:03 CET 2006


Revision: 20829
Author:   aquadran
Date:     2006-02-23 09:51:27 -0800 (Thu, 23 Feb 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm?rev=20829&view=rev

Log Message:
-----------
fixed warnings

Modified Paths:
--------------
    scummvm/trunk/engines/gob/mult_v2.cpp
    scummvm/trunk/engines/sword2/mouse.h
Modified: scummvm/trunk/engines/gob/mult_v2.cpp
===================================================================
--- scummvm/trunk/engines/gob/mult_v2.cpp	2006-02-23 14:52:07 UTC (rev 20828)
+++ scummvm/trunk/engines/gob/mult_v2.cpp	2006-02-23 17:51:27 UTC (rev 20829)
@@ -63,7 +63,7 @@
 	staticCount++;
 	animCount++;
 
-	hbstaticCount = staticCount & 0x80;
+	hbstaticCount = (staticCount & 0x80) != 0;
 	staticCount &= 0x7F;
 
 	debug(7, "statics: %u, anims: %u, hb: %u", staticCount, animCount, hbstaticCount);

Modified: scummvm/trunk/engines/sword2/mouse.h
===================================================================
--- scummvm/trunk/engines/sword2/mouse.h	2006-02-23 14:52:07 UTC (rev 20828)
+++ scummvm/trunk/engines/sword2/mouse.h	2006-02-23 17:51:27 UTC (rev 20829)
@@ -34,7 +34,7 @@
 
 namespace Sword2 {
 
-class MenuObject;
+struct MenuObject;
 struct BuildUnit;
 
 // Menubar defines.







More information about the Scummvm-git-logs mailing list