From 939d8d1a373a9c4dc0feb780f57894296acf4148 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torbj=C3=B6rn=20Andersson?= Date: Mon, 26 Oct 2009 20:03:07 +0000 Subject: [PATCH] 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 7a0766098b8..a3ffea73dc9 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