aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel/heapmem.cpp
diff options
context:
space:
mode:
authorMax Horn2009-10-26 21:08:15 +0000
committerMax Horn2009-10-26 21:08:15 +0000
commit5672f353dd795aac9bec4f4b65b342d402fcad1f (patch)
treeaa0c005589180a3e92c3ef3da7356307a97261a0 /engines/tinsel/heapmem.cpp
parent6c1c9eda3a18ed7a545a9fc6725cfa3891ae2ac5 (diff)
downloadscummvm-rg350-5672f353dd795aac9bec4f4b65b342d402fcad1f.tar.gz
scummvm-rg350-5672f353dd795aac9bec4f4b65b342d402fcad1f.tar.bz2
scummvm-rg350-5672f353dd795aac9bec4f4b65b342d402fcad1f.zip
TINSEL: Fix warning again
svn-id: r45419
Diffstat (limited to 'engines/tinsel/heapmem.cpp')
-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 24748a4707..5f32888f6e 100644
--- a/engines/tinsel/heapmem.cpp
+++ b/engines/tinsel/heapmem.cpp
@@ -465,7 +465,7 @@ void MemoryReAlloc(MEM_NODE *pMemNode, long size) {
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