b244f636f2
Obtained from: http://stian.cubic.org/blog-20100422.php
15 lines
461 B
C++
15 lines
461 B
C++
--- ./stsoundlib/lzh/lzhlib.cpp.orig 2010-04-23 13:49:47.000000000 +0200
|
|
+++ ./stsoundlib/lzh/lzhlib.cpp 2010-04-23 13:49:47.000000000 +0200
|
|
@@ -413,10 +413,10 @@
|
|
|
|
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;
|