aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel
diff options
context:
space:
mode:
authorTorbjörn Andersson2009-10-26 20:03:07 +0000
committerTorbjörn Andersson2009-10-26 20:03:07 +0000
commit939d8d1a373a9c4dc0feb780f57894296acf4148 (patch)
tree2f7cd96a4cbbc0270d30bd515dd4c347147a124d /engines/tinsel
parentefd41ffc46d993a266920aa204fbb87789c73b92 (diff)
downloadscummvm-rg350-939d8d1a373a9c4dc0feb780f57894296acf4148.tar.gz
scummvm-rg350-939d8d1a373a9c4dc0feb780f57894296acf4148.tar.bz2
scummvm-rg350-939d8d1a373a9c4dc0feb780f57894296acf4148.zip
Silence GCC warning.
svn-id: r45413
Diffstat (limited to 'engines/tinsel')
-rw-r--r--engines/tinsel/heapmem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/heapmem.cpp b/engines/tinsel/heapmem.cpp
index 7a0766098b..a3ffea73dc 100644
--- a/engines/tinsel/heapmem.cpp
+++ b/engines/tinsel/heapmem.cpp
@@ -454,7 +454,7 @@ void MemoryReAlloc(MEM_NODE *pMemNode, long size) {
if (size != pMemNode->size) {
// make sure memory object is not locked and discarded
- assert(pMemNode->flags == DWM_LOCKED | DWM_DISCARDED);
+ assert(pMemNode->flags == (DWM_LOCKED | DWM_DISCARDED));
assert(pMemNode->size == 0);
// unlink the mnode from the current heap