diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-07-31 13:59:16 +0300 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2009-07-31 13:59:16 +0300 |
commit | 15d29bd0863a819ed950f65523b6000961d1213e (patch) | |
tree | f6ae2ea0fe75415adc9a070adefaae5144226009 | |
parent | 5ecb0e187efa451b471270f2f0dd573134899a20 (diff) | |
download | cpio-15d29bd0863a819ed950f65523b6000961d1213e.tar.gz cpio-15d29bd0863a819ed950f65523b6000961d1213e.tar.bz2 |
Minor compatibility fix
* src/cpiohdr.h (struct old_cpio_header): c_dev and c_rdev
are unsigned short.
-rw-r--r-- | src/cpiohdr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpiohdr.h b/src/cpiohdr.h index 6231ec8..3c475f0 100644 --- a/src/cpiohdr.h +++ b/src/cpiohdr.h @@ -37,13 +37,13 @@ struct old_cpio_header { unsigned short c_magic; - short c_dev; + unsigned short c_dev; unsigned short c_ino; unsigned short c_mode; unsigned short c_uid; unsigned short c_gid; unsigned short c_nlink; - short c_rdev; + unsigned short c_rdev; unsigned short c_mtimes[2]; unsigned short c_namesize; unsigned short c_filesizes[2]; |