From b61d22b155a28ad3c4e6a47a87f964ddb659de36 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Thu, 19 Mar 2009 23:52:30 +0000 Subject: Hopefully fix compilation with mingw64. svn-id: r39552 --- engines/agos/subroutine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/agos/subroutine.cpp') diff --git a/engines/agos/subroutine.cpp b/engines/agos/subroutine.cpp index 26dfde8403..d7919f028d 100644 --- a/engines/agos/subroutine.cpp +++ b/engines/agos/subroutine.cpp @@ -220,7 +220,7 @@ Subroutine *AGOSEngine::getSubroutineByID(uint subroutineId) { } void AGOSEngine::alignTableMem() { - if ((unsigned long)_tablesHeapPtr & 3) { + if (!IS_ALIGNED(_tablesHeapPtr, 4)) { _tablesHeapPtr += 2; _tablesHeapCurPos += 2; } -- cgit v1.2.3