aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Horn2009-03-19 23:31:20 +0000
committerMax Horn2009-03-19 23:31:20 +0000
commit7077ea36e0a805c356e7b7492fce6945854f95bb (patch)
treee49b88b688bc0427af06966dd6fbbd523adc5375
parent160acbd9f56ca138d4e3430ee8ba62d1e260fe97 (diff)
downloadscummvm-rg350-7077ea36e0a805c356e7b7492fce6945854f95bb.tar.gz
scummvm-rg350-7077ea36e0a805c356e7b7492fce6945854f95bb.tar.bz2
scummvm-rg350-7077ea36e0a805c356e7b7492fce6945854f95bb.zip
Fix compilation
svn-id: r39549
-rw-r--r--engines/agi/lzw.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/agi/lzw.cpp b/engines/agi/lzw.cpp
index 7386f379e7..a101ebb9f6 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 = (uint8 *)((uint8)out + (uint8)len);
+ end = (uint8 *)(out + (uint32)len);
lzwold = inputCode(&in); /* Read in the first code */
c = lzwold;