aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-03-20 00:12:45 +0000
committerJohannes Schickel2009-03-20 00:12:45 +0000
commitcd8eeb7e473cd56db4a5cefc4bc7e4f64c80846a (patch)
tree54085276865ba194d0d92c481f195b9d6e5d841f
parentd806ef27691bff4c2bf0647709b7060559fbc045 (diff)
downloadscummvm-rg350-cd8eeb7e473cd56db4a5cefc4bc7e4f64c80846a.tar.gz
scummvm-rg350-cd8eeb7e473cd56db4a5cefc4bc7e4f64c80846a.tar.bz2
scummvm-rg350-cd8eeb7e473cd56db4a5cefc4bc7e4f64c80846a.zip
Oops forgot one line in last commit, now the file should compile cleanly with mingw64.
svn-id: r39555
-rw-r--r--graphics/scaler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/scaler.cpp b/graphics/scaler.cpp
index e17652efae..da84938bc5 100644
--- a/graphics/scaler.cpp
+++ b/graphics/scaler.cpp
@@ -255,7 +255,7 @@ void Normal1o5xTemplate(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uin
const uint32 dstPitch3 = dstPitch * 3;
const uint32 srcPitch2 = srcPitch * 2;
- assert(((long)dstPtr & 1) == 0);
+ assert(IS_ALIGNED(dstPtr, 2));
while (height > 0) {
r = dstPtr;
for (int i = 0; i < width; i += 2, r += 6) {