From 11f348dd6c4e9b6eea3ba314debe4fd621202c07 Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Thu, 23 Feb 2006 17:51:27 +0000 Subject: fixed warnings svn-id: r20829 --- engines/gob/mult_v2.cpp | 2 +- engines/sword2/mouse.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/gob/mult_v2.cpp b/engines/gob/mult_v2.cpp index 200349f58f..087754f9a8 100644 --- a/engines/gob/mult_v2.cpp +++ b/engines/gob/mult_v2.cpp @@ -63,7 +63,7 @@ void Mult_v2::loadMult(int16 resId) { staticCount++; animCount++; - hbstaticCount = staticCount & 0x80; + hbstaticCount = (staticCount & 0x80) != 0; staticCount &= 0x7F; debug(7, "statics: %u, anims: %u, hb: %u", staticCount, animCount, hbstaticCount); diff --git a/engines/sword2/mouse.h b/engines/sword2/mouse.h index 4f4fcdadff..97ea01e7a7 100644 --- a/engines/sword2/mouse.h +++ b/engines/sword2/mouse.h @@ -34,7 +34,7 @@ namespace Sword2 { -class MenuObject; +struct MenuObject; struct BuildUnit; // Menubar defines. -- cgit v1.2.3