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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Fri Mar 20 00:31:20 CET 2009


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

Log Message:
-----------
Fix compilation

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

Modified: scummvm/trunk/engines/agi/lzw.cpp
===================================================================
--- scummvm/trunk/engines/agi/lzw.cpp	2009-03-19 23:23:28 UTC (rev 39548)
+++ scummvm/trunk/engines/agi/lzw.cpp	2009-03-19 23:31:20 UTC (rev 39549)
@@ -144,7 +144,7 @@
 	setBits(START_BITS);	/* Starts at 9-bits */
 	lzwnext = 257;		/* Next available code to define */
 
-	end = (uint8 *)((uint8)out + (uint8)len);
+	end = (uint8 *)(out + (uint32)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