warc: use the right type for the gzip stream

This commit is contained in:
Mike Frysinger 2012-05-26 14:05:56 +02:00 committed by Giuseppe Scrivano
parent 9cc514d21c
commit 639a454528
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-05-26 Mike Frysinger <vapier@gentoo.org>
* warc.c: Change type of `warc_current_gzfile' to gzFile.
2012-05-26 Giuseppe Scrivano <gscrivano@gnu.org>
* warc.c (warc_load_cdx_dedup_file): Change type of `line_length' to

View File

@ -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;