diff options
author | Paweł Kołodziejski | 2006-02-23 17:51:27 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2006-02-23 17:51:27 +0000 |
commit | 11f348dd6c4e9b6eea3ba314debe4fd621202c07 (patch) | |
tree | dcbf710bfec77a7fbaa26653e09513c0a36b7e66 | |
parent | 7b25fa0bd400a14d13d2926663b19277fb1f16eb (diff) | |
download | scummvm-rg350-11f348dd6c4e9b6eea3ba314debe4fd621202c07.tar.gz scummvm-rg350-11f348dd6c4e9b6eea3ba314debe4fd621202c07.tar.bz2 scummvm-rg350-11f348dd6c4e9b6eea3ba314debe4fd621202c07.zip |
fixed warnings
svn-id: r20829
-rw-r--r-- | engines/gob/mult_v2.cpp | 2 | ||||
-rw-r--r-- | 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. |