[Scummvm-cvs-logs] SF.net SVN: scummvm: [28012] scummvm/trunk/engines/scumm/gfx.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Tue Jul 10 19:28:48 CEST 2007


Revision: 28012
          http://scummvm.svn.sourceforge.net/scummvm/?rev=28012&view=rev
Author:   eriktorbjorn
Date:     2007-07-10 10:28:48 -0700 (Tue, 10 Jul 2007)

Log Message:
-----------
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...

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/gfx.cpp

Modified: scummvm/trunk/engines/scumm/gfx.cpp
===================================================================
--- scummvm/trunk/engines/scumm/gfx.cpp	2007-07-10 17:04:09 UTC (rev 28011)
+++ scummvm/trunk/engines/scumm/gfx.cpp	2007-07-10 17:28:48 UTC (rev 28012)
@@ -593,7 +593,7 @@
 
 		// 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


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list