diff options
author | Johannes Schickel | 2009-03-20 00:12:45 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-03-20 00:12:45 +0000 |
commit | cd8eeb7e473cd56db4a5cefc4bc7e4f64c80846a (patch) | |
tree | 54085276865ba194d0d92c481f195b9d6e5d841f | |
parent | d806ef27691bff4c2bf0647709b7060559fbc045 (diff) | |
download | scummvm-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.cpp | 2 |
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) { |