summaryrefslogtreecommitdiff
path: root/unzip.c
diff options
context:
space:
mode:
authorJim Meyering <meyering@fb.com>2015-11-01 21:58:42 -0800
committerJim Meyering <meyering@fb.com>2015-11-01 22:00:17 -0800
commit6bfbf81717c7bee5ae846e38ecf6af1ff1775d11 (patch)
tree09af5e143edf270ab07291889e840a5d5d9b7fdc /unzip.c
parentcf688dd1054b6f1a468cdecb831b06c19e87c816 (diff)
downloadgzip-6bfbf81717c7bee5ae846e38ecf6af1ff1775d11.tar.gz
maint: avoid three warnings from the very latest gcc-built-from-git
* unzip.c (unzip): Correct two format strings to match the types of the corresponding arguments. * unlzw.c (unlzw): Cast an "int" to unsigned to match expected type of %x.
Diffstat (limited to 'unzip.c')
-rw-r--r--unzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unzip.c b/unzip.c
index ec3adf1..50cdf5d 100644
--- a/unzip.c
+++ b/unzip.c
@@ -143,7 +143,7 @@ int unzip(in, out)
if (n != LG(inbuf + LOCSIZ) - (decrypt ? RAND_HEAD_LEN : 0)) {
- fprintf(stderr, "len %ld, siz %ld\n", n, LG(inbuf + LOCSIZ));
+ fprintf(stderr, "len %lu, siz %lu\n", n, LG(inbuf + LOCSIZ));
gzip_error ("invalid compressed data--length mismatch");
}
while (n--) {