aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-03-19 23:52:30 +0000
committerJohannes Schickel2009-03-19 23:52:30 +0000
commitb61d22b155a28ad3c4e6a47a87f964ddb659de36 (patch)
treec46f2abec2610a898b1488d62b4d94497ac82591
parent9f43c32c2595289f0bf8453a247890b122f7a6f0 (diff)
downloadscummvm-rg350-b61d22b155a28ad3c4e6a47a87f964ddb659de36.tar.gz
scummvm-rg350-b61d22b155a28ad3c4e6a47a87f964ddb659de36.tar.bz2
scummvm-rg350-b61d22b155a28ad3c4e6a47a87f964ddb659de36.zip
Hopefully fix compilation with mingw64.
svn-id: r39552
-rw-r--r--engines/agos/subroutine.cpp2
1 files changed, 1 insertions, 1 deletions
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;
}