diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2021-01-08 16:37:08 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2021-01-08 16:37:08 +0200 |
commit | 7dd8ba91d8b6a2640e6c01c3e3a4234828646f23 (patch) | |
tree | da74ebf8d12963934a60c450ee6e9a96e97c2170 /src | |
parent | 905907cd8a8bf344890cf2c4b52829fbb875a9f1 (diff) | |
download | cpio-7dd8ba91d8b6a2640e6c01c3e3a4234828646f23.tar.gz cpio-7dd8ba91d8b6a2640e6c01c3e3a4234828646f23.tar.bz2 |
Update gnulib
* NEWS: Raise version number.
* configure.ac: Raise version number to 2.13.90.
Raise autoconf and automake requirements.
* gnulib: Pull v0.1-4336-gbdae9a5
* gnulib.modules: Remove getopt
* src/copyin.c (long_format): Cast rdev numbers to unsigned long
Diffstat (limited to 'src')
-rw-r--r-- | src/copyin.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/copyin.c b/src/copyin.c index 9217a63..c8ea278 100644 --- a/src/copyin.c +++ b/src/copyin.c @@ -758,8 +758,9 @@ long_format (struct cpio_file_stat *file_hdr, char const *link_name) if ((file_hdr->c_mode & CP_IFMT) == CP_IFCHR || (file_hdr->c_mode & CP_IFMT) == CP_IFBLK) - printf ("%3lu, %3lu ", file_hdr->c_rdev_maj, - file_hdr->c_rdev_min); + printf ("%3lu, %3lu ", + (unsigned long) file_hdr->c_rdev_maj, + (unsigned long) file_hdr->c_rdev_min); else printf ("%8"PRIuMAX" ", (uintmax_t) file_hdr->c_filesize); |