freebsd-ports/audio/stymulator/files/patch-stsoundlib__lzh__lzhlib.cpp
2010-04-23 12:06:32 +00:00

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;