From d84d93b5d0709e95dec412fe8c9b4e5c2dfa9e2e Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Sat, 1 May 2004 15:08:20 +0000 Subject: [PATCH] Fix IHNM hang svn-id: r13714 --- saga/image.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/saga/image.cpp b/saga/image.cpp index f3bd6fd3515..bed4c18133f 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;