]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Fix %d -> %u for unsigned int from i4le() (#2448)
authorGraham Percival <gperciva@tarsnap.com>
Tue, 24 Dec 2024 23:27:26 +0000 (15:27 -0800)
committerGitHub <noreply@github.com>
Tue, 24 Dec 2024 23:27:26 +0000 (15:27 -0800)
commita17bded84a6d3e4ffd2a6c0e587b0b78b9ba3299
tree1d4ee49319c60420299e618c79c90b2441163551
parente99c6d69f165a2920123c56a04d58d9420347ef9
Fix %d -> %u for unsigned int from i4le() (#2448)

`i4le()` returns an unsigned int, so `'%d'` is incorrect.

Reported by `clang -Wformat`. (Many more such fixes to come, but this is
the simplest set of them.)
libarchive/test/test_write_format_zip64_stream.c
libarchive/test/test_write_format_zip_compression_bzip2.c
libarchive/test/test_write_format_zip_compression_lzmaxz.c
libarchive/test/test_write_format_zip_compression_store.c
libarchive/test/test_write_format_zip_compression_zstd.c
libarchive/test/test_write_format_zip_file.c
libarchive/test/test_write_format_zip_file_zip64.c
libarchive/test/test_write_format_zip_stream.c