diff options
author | Jim Meyering <meyering@fb.com> | 2015-11-01 21:58:42 -0800 |
---|---|---|
committer | Jim Meyering <meyering@fb.com> | 2015-11-01 22:00:17 -0800 |
commit | 6bfbf81717c7bee5ae846e38ecf6af1ff1775d11 (patch) | |
tree | 09af5e143edf270ab07291889e840a5d5d9b7fdc /unzip.c | |
parent | cf688dd1054b6f1a468cdecb831b06c19e87c816 (diff) | |
download | gzip-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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--) { |