bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [PATCH] fix type for warc_current_gzfile


From: Tim Ruehsen
Subject: [Bug-wget] [PATCH] fix type for warc_current_gzfile
Date: Fri, 13 Apr 2012 11:28:39 +0200
User-agent: KMail/1.13.7 (Linux/3.2.0-2-amd64; KDE/4.7.4; x86_64; ; )

warc_current_gzfile must be of type gzFile, not gzFile *.

It also fixed these compiler warnings:
warc.c: In function 'warc_write_buffer':
warc.c:144:7: warning: passing argument 1 of 'gzwrite' from incompatible 
pointer type [enabled by default]
/usr/include/zlib.h:1318:21: note: expected 'gzFile' but argument is of type 
'struct gzFile_s **'
warc.c: In function 'warc_write_start_record':
warc.c:207:27: warning: assignment from incompatible pointer type [enabled by 
default]
warc.c: In function 'warc_write_end_record':
warc.c:290:7: warning: passing argument 1 of 'gzclose' from incompatible 
pointer type [enabled by default]
/usr/include/zlib.h:1488:24: note: expected 'gzFile' but argument is of type 
'struct gzFile_s **'

Tim

Attachment: warc_current_gzFile.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]