From e82464a528729f7f1eb14c772d5d3afff35fa0fe Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 19 Mar 2009 22:49:26 +0000 Subject: Use IS_ALIGNED svn-id: r39545 --- engines/scumm/gfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp index 04cde129fa..948d73b7f5 100644 --- a/engines/scumm/gfx.cpp +++ b/engines/scumm/gfx.cpp @@ -603,7 +603,7 @@ void ScummEngine::drawStripToScreen(VirtScreen *vs, int x, int width, int top, i // The values x, width, etc. are all multiples of 8 at this point, // so loop unrolloing might be a good idea... - assert(0 == ((long)text & 3)); + assert(IS_ALIGNED(text, 4)); assert(0 == (width & 3)); // Compose the text over the game graphics -- cgit v1.2.3