* src/retr.c (fd_read_body): Fix signedness warnings

This commit is contained in:
Tim Rühsen 2020-02-12 16:14:40 +01:00
parent fd75f5d986
commit 94b9332f50

View File

@ -581,9 +581,9 @@ fd_read_body (const char *downloaded_filename, int fd, FILE *out, wgint toread,
}
xfree (gzbuf);
if (gzstream.total_in != sum_read)
if (gzstream.total_in != (uLong) sum_read)
{
DEBUGP(("zlib read size differs from raw read size (%lu/%lu)\n",
DEBUGP(("zlib read size differs from raw read size (%lu/%ld)\n",
gzstream.total_in, sum_read));
}
}