[Scummvm-cvs-logs] SF.net SVN: scummvm:[39548] scummvm/trunk/engines/agi/lzw.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Mar 20 00:23:33 CET 2009


Revision: 39548
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39548&view=rev
Author:   thebluegr
Date:     2009-03-19 23:23:28 +0000 (Thu, 19 Mar 2009)

Log Message:
-----------
Hopefully, this fixes compilation of the AGI engine on 64-bit platforms

Modified Paths:
--------------
    scummvm/trunk/engines/agi/lzw.cpp

Modified: scummvm/trunk/engines/agi/lzw.cpp
===================================================================
--- scummvm/trunk/engines/agi/lzw.cpp	2009-03-19 22:51:42 UTC (rev 39547)
+++ scummvm/trunk/engines/agi/lzw.cpp	2009-03-19 23:23:28 UTC (rev 39548)
@@ -144,7 +144,7 @@
 	setBits(START_BITS);	/* Starts at 9-bits */
 	lzwnext = 257;		/* Next available code to define */
 
-	end = (unsigned char *)((long)out + (long)len);
+	end = (uint8 *)((uint8)out + (uint8)len);
 
 	lzwold = inputCode(&in);	/* Read in the first code */
 	c = lzwold;


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