From 639a4545287b79baa8783c90c38a572b406714c7 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 26 May 2012 14:05:56 +0200 Subject: [PATCH] warc: use the right type for the gzip stream --- src/ChangeLog | 4 ++++ src/warc.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 8b96c628..d7a13ac0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2012-05-26 Mike Frysinger + + * warc.c: Change type of `warc_current_gzfile' to gzFile. + 2012-05-26 Giuseppe Scrivano * warc.c (warc_load_cdx_dedup_file): Change type of `line_length' to diff --git a/src/warc.c b/src/warc.c index 6935aaf1..24751dbf 100644 --- a/src/warc.c +++ b/src/warc.c @@ -75,7 +75,7 @@ static FILE *warc_current_file; #ifdef HAVE_LIBZ /* The gzip stream for the current WARC file (or NULL, if WARC or gzip is disabled). */ -static gzFile *warc_current_gzfile; +static gzFile warc_current_gzfile; /* The offset of the current gzip record in the WARC file. */ static off_t warc_current_gzfile_offset; -- 2.39.2