diff options
-rw-r--r-- | engines/tinsel/heapmem.cpp | 2 |
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 |