forked from Lainports/opnsense-ports
Taken from: https://github.com/freebsd/freebsd-ports.git Commit id: 5070672073b68be364139bc6b3a89100bd17d331
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;
|