diff options
Diffstat (limited to 'scumm/smush/codec47.cpp')
-rw-r--r-- | scumm/smush/codec47.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scumm/smush/codec47.cpp b/scumm/smush/codec47.cpp index 16f2145ec9..f1ae149e26 100644 --- a/scumm/smush/codec47.cpp +++ b/scumm/smush/codec47.cpp @@ -28,18 +28,18 @@ DumpDecoder::~DumpDecoder() { } bool DumpDecoder::decode(Blitter & dst, Chunk & src) { - int i = 0; - int seq = src.getWord(); - int codec = src.getByte(); - int flags = src.getByte(); - int unknown[22]; + int32 i = 0; + int32 seq = src.getWord(); + int32 codec = src.getByte(); + int32 flags = src.getByte(); + int32 unknown[22]; for(i = 0; i < 0; i++) { unknown[i] = src.getByte(); } if(codec == 5 || codec == 1) { do { - int code = src.getByte(); - int length = (code >> 1) + 1; + int32 code = src.getByte(); + int32 length = (code >> 1) + 1; if (code & 1) dst.put(src.getChar(), length); else |