diff options
Diffstat (limited to 'audio/stymulator/files/patch-stsoundlib_lzh_lzhlib.cpp')
-rw-r--r-- | audio/stymulator/files/patch-stsoundlib_lzh_lzhlib.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/stymulator/files/patch-stsoundlib_lzh_lzhlib.cpp b/audio/stymulator/files/patch-stsoundlib_lzh_lzhlib.cpp new file mode 100644 index 000000000000..985c11dde8f7 --- /dev/null +++ b/audio/stymulator/files/patch-stsoundlib_lzh_lzhlib.cpp @@ -0,0 +1,15 @@ +--- stsoundlib/lzh/lzhlib.cpp.orig 2016-07-26 16:04:42 UTC ++++ stsoundlib/lzh/lzhlib.cpp +@@ -413,10 +413,10 @@ bool CLzhDepacker::LzUnpack(void *pSrc,i + + decode_start (); + +- int origsize = dstSize; ++ uint origsize = dstSize; + while (origsize != 0) + { +- int n = (uint) ((origsize > DICSIZ) ? DICSIZ : origsize); ++ uint n = (origsize > DICSIZ) ? DICSIZ : origsize; + decode (n, outbuf); + if (with_error) + break; |