summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ext/zlib/zlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/zlib/zlib.c b/ext/zlib/zlib.c
index 425a30e5f..8caadaedd 100644
--- a/ext/zlib/zlib.c
+++ b/ext/zlib/zlib.c
@@ -2212,7 +2212,7 @@ gzfile_writer_end_run(arg)
gzfile_make_header(gz);
}
- zstream_run(&gz->z, (Bytef*)"", 0, Z_FINISH);
+ zstream_run(&gz->z, "", 0, Z_FINISH);
gzfile_make_footer(gz);
gzfile_write_raw(gz);