From 0a5654fefc147fb67796bf5cb33f1f761041c018 Mon Sep 17 00:00:00 2001 From: Torbjörn Andersson Date: Tue, 10 Jul 2007 17:28:48 +0000 Subject: Cast the pointer to long instead of int to possibly fix the amd64 compile problem mentioned earlier on the channel. Neither seems like a particularly nice thing to do, but this is how we do it in the SDL backend, and it has apparently worked fine there... svn-id: r28012 --- engines/scumm/gfx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/scumm') diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp index 3c6f57be1a..d21a77ea56 100644 --- a/engines/scumm/gfx.cpp +++ b/engines/scumm/gfx.cpp @@ -593,7 +593,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 == ((int)text & 3)); + assert(0 == ((long)text & 3)); assert(0 == (width & 3)); // Compose the text over the game graphics -- cgit v1.2.3