summaryrefslogtreecommitdiffabout
path: root/src
authorSergey Poznyakoff <gray@gnu.org>2021-01-08 14:37:08 (GMT)
committer Sergey Poznyakoff <gray@gnu.org>2021-01-08 14:37:08 (GMT)
commit7dd8ba91d8b6a2640e6c01c3e3a4234828646f23 (patch) (side-by-side diff)
treeda74ebf8d12963934a60c450ee6e9a96e97c2170 /src
parent905907cd8a8bf344890cf2c4b52829fbb875a9f1 (diff)
downloadcpio-master.tar.gz
cpio-master.tar.bz2
Update gnulibHEADmaster
* 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') (more/less context) (ignore whitespace changes)
-rw-r--r--src/copyin.c5
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);

Return to:

Send suggestions and report system problems to the System administrator.