From 939d8d1a373a9c4dc0feb780f57894296acf4148 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Mon, 26 Oct 2009 20:03:07 +0000 Subject: Silence GCC warning. svn-id: r45413 --- engines/tinsel/heapmem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3