opnsense-ports/audio/stymulator/files/patch-stsoundlib__lzh__lzhlib.cpp
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01: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;