]> sjero.net Git - wget/blobdiff - src/warc.c
Use the right type as result from readline.
[wget] / src / warc.c
index 57fdcad0766024fde7d0399f630cbe23fbd7c005..6935aaf1b136144626e92a2080047d5129929e93 100644 (file)
@@ -930,7 +930,7 @@ warc_load_cdx_dedup_file (void)
 
   char *lineptr = NULL;
   size_t n = 0;
-  size_t line_length;
+  ssize_t line_length;
 
   /* The first line should contain the CDX header.
      Format:  " CDX x x x x x"