1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Use the right type as result from readline.

This commit is contained in:
Giuseppe Scrivano 2012-05-26 02:55:53 +02:00
parent 620ca36038
commit 9cc514d21c
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2012-05-26 Giuseppe Scrivano <gscrivano@gnu.org>
* warc.c (warc_load_cdx_dedup_file): Change type of `line_length' to
ssize_t.
Suggested by: Ángel González <keisial@gmail.com>
2012-05-18 Tim Ruehsen <tim.ruehsen@gmx.de> 2012-05-18 Tim Ruehsen <tim.ruehsen@gmx.de>
* gnutls.c (wgnutls_poll): Honor the specified `timeout' value. * gnutls.c (wgnutls_poll): Honor the specified `timeout' value.

View File

@ -930,7 +930,7 @@ warc_load_cdx_dedup_file (void)
char *lineptr = NULL; char *lineptr = NULL;
size_t n = 0; size_t n = 0;
size_t line_length; ssize_t line_length;
/* The first line should contain the CDX header. /* The first line should contain the CDX header.
Format: " CDX x x x x x" Format: " CDX x x x x x"