mirror of
https://github.com/mirror/wget.git
synced 2025-01-05 09:50:27 +08:00
* src/retr.c (fd_read_body): Fix signedness warnings
This commit is contained in:
parent
fd75f5d986
commit
94b9332f50
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user