aboutsummaryrefslogtreecommitdiff
path: root/saga
diff options
context:
space:
mode:
authorEugene Sandulenko2004-05-01 15:08:20 +0000
committerEugene Sandulenko2004-05-01 15:08:20 +0000
commitd84d93b5d0709e95dec412fe8c9b4e5c2dfa9e2e (patch)
treef9ea265a7702e931a5838ef2d4aaf1042c76ec17 /saga
parent3ad363a274ac767e5831bc0c69b8b89271aad3c7 (diff)
downloadscummvm-rg350-d84d93b5d0709e95dec412fe8c9b4e5c2dfa9e2e.tar.gz
scummvm-rg350-d84d93b5d0709e95dec412fe8c9b4e5c2dfa9e2e.tar.bz2
scummvm-rg350-d84d93b5d0709e95dec412fe8c9b4e5c2dfa9e2e.zip
Fix IHNM hang
svn-id: r13714
Diffstat (limited to 'saga')
-rw-r--r--saga/image.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/saga/image.cpp b/saga/image.cpp
index f3bd6fd351..bed4c18133 100644
--- a/saga/image.cpp
+++ b/saga/image.cpp
@@ -113,11 +113,11 @@ int IMG_DecodeBGImage(const byte * image_data, size_t image_size,
int DecodeBGImageRLE(const byte *inbuf, size_t inbuf_len, byte *outbuf, size_t outbuf_len) {
const byte *inbuf_ptr;
byte *outbuf_ptr;
- uint16 inbuf_remain;
+ uint32 inbuf_remain;
const byte *inbuf_end;
byte *outbuf_end;
- uint16 outbuf_remain;
+ uint32 outbuf_remain;
byte mark_byte;
int test_byte;