From cd8eeb7e473cd56db4a5cefc4bc7e4f64c80846a Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 20 Mar 2009 00:12:45 +0000 Subject: Oops forgot one line in last commit, now the file should compile cleanly with mingw64. svn-id: r39555 --- graphics/scaler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/scaler.cpp') 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) { -- cgit v1.2.3