summaryrefslogtreecommitdiff
path: root/games/daimonin/files/patch-src-uncompr.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/daimonin/files/patch-src-uncompr.c')
-rw-r--r--games/daimonin/files/patch-src-uncompr.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/games/daimonin/files/patch-src-uncompr.c b/games/daimonin/files/patch-src-uncompr.c
index 5d1b07b4f201..e10b6a073c0e 100644
--- a/games/daimonin/files/patch-src-uncompr.c
+++ b/games/daimonin/files/patch-src-uncompr.c
@@ -1,11 +1,11 @@
---- ../../src/uncompr.c.orig Sun May 20 02:10:22 2007
-+++ ../../src/uncompr.c Mon Jun 4 11:40:00 2007
-@@ -60,7 +60,7 @@
+--- ../../src/uncompr.c.orig 2010-09-19 10:32:48.000000000 -0400
++++ ../../src/uncompr.c 2010-09-19 10:35:17.000000000 -0400
+@@ -37,7 +37,7 @@
stream.next_out = dest;
- stream.avail_out = (uInt) * destLen;
-- if ((uLong) stream.avail_out != *destLen)
-+ if ((uLong) stream.avail_out != (uInt) *destLen)
- return Z_BUF_ERROR;
+ stream.avail_out = (uInt)*destLen;
+- if ((uLong)stream.avail_out != *destLen) return Z_BUF_ERROR;
++ if ((uLong)stream.avail_out != (uLong)*destLen) return Z_BUF_ERROR;
- stream.zalloc = (alloc_func) 0;
+ stream.zalloc = (alloc_func)0;
+ stream.zfree = (free_func)0;