summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/zlib/gzwrite.c
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/zlib/gzwrite.c')
-rw-r--r--3rdparty/zlib/gzwrite.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/3rdparty/zlib/gzwrite.c b/3rdparty/zlib/gzwrite.c
index a2ee573db0e..c7b5651d70b 100644
--- a/3rdparty/zlib/gzwrite.c
+++ b/3rdparty/zlib/gzwrite.c
@@ -1,5 +1,5 @@
/* gzwrite.c -- zlib functions for writing gzip files
- * Copyright (C) 2004, 2005, 2010, 2011, 2012, 2013, 2016 Mark Adler
+ * Copyright (C) 2004-2017 Mark Adler
* For conditions of distribution and use, see copyright notice in zlib.h
*/
@@ -117,6 +117,7 @@ local int gz_comp(state, flush)
if (strm->avail_out == 0) {
strm->avail_out = state->size;
strm->next_out = state->out;
+ state->x.next = state->out;
}
}