diff options
author | Filippos Karapetis | 2009-03-19 23:23:28 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-03-19 23:23:28 +0000 |
commit | 160acbd9f56ca138d4e3430ee8ba62d1e260fe97 (patch) | |
tree | dd7426ed36e9ff2b7e6b90db09d82d87e767190f | |
parent | b9656ae391db0e637a1c1ae2ebe19397ef849501 (diff) | |
download | scummvm-rg350-160acbd9f56ca138d4e3430ee8ba62d1e260fe97.tar.gz scummvm-rg350-160acbd9f56ca138d4e3430ee8ba62d1e260fe97.tar.bz2 scummvm-rg350-160acbd9f56ca138d4e3430ee8ba62d1e260fe97.zip |
Hopefully, this fixes compilation of the AGI engine on 64-bit platforms
svn-id: r39548
-rw-r--r-- | engines/agi/lzw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/lzw.cpp b/engines/agi/lzw.cpp index aa926b0158..7386f379e7 100644 --- a/engines/agi/lzw.cpp +++ b/engines/agi/lzw.cpp @@ -144,7 +144,7 @@ void lzwExpand(uint8 *in, uint8 *out, int32 len) { 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; |