diff options
author | Eugene Sandulenko | 2004-05-01 15:08:20 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2004-05-01 15:08:20 +0000 |
commit | d84d93b5d0709e95dec412fe8c9b4e5c2dfa9e2e (patch) | |
tree | f9ea265a7702e931a5838ef2d4aaf1042c76ec17 | |
parent | 3ad363a274ac767e5831bc0c69b8b89271aad3c7 (diff) | |
download | scummvm-rg350-d84d93b5d0709e95dec412fe8c9b4e5c2dfa9e2e.tar.gz scummvm-rg350-d84d93b5d0709e95dec412fe8c9b4e5c2dfa9e2e.tar.bz2 scummvm-rg350-d84d93b5d0709e95dec412fe8c9b4e5c2dfa9e2e.zip |
Fix IHNM hang
svn-id: r13714
-rw-r--r-- | saga/image.cpp | 4 |
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; |