diff options
author | Sami Kerola | 2011-07-20 22:00:02 +0200 |
---|---|---|
committer | Sami Kerola | 2011-07-20 22:49:48 +0200 |
commit | d51f37a3688c786478d24507f24508471672e821 (patch) | |
tree | c7589dd677b426331bcc6721ea28c1e1b42aaa34 /disk-utils/mkfs.cramfs.c | |
parent | cramfs_common: coding style (diff) | |
download | kernel-qcow2-util-linux-d51f37a3688c786478d24507f24508471672e821.tar.gz kernel-qcow2-util-linux-d51f37a3688c786478d24507f24508471672e821.tar.xz kernel-qcow2-util-linux-d51f37a3688c786478d24507f24508471672e821.zip |
cramfs: use stdint.h instead of u{8,16,32}
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'disk-utils/mkfs.cramfs.c')
-rw-r--r-- | disk-utils/mkfs.cramfs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/disk-utils/mkfs.cramfs.c b/disk-utils/mkfs.cramfs.c index 6767ba3c3..0bfd1370c 100644 --- a/disk-utils/mkfs.cramfs.c +++ b/disk-utils/mkfs.cramfs.c @@ -634,7 +634,7 @@ do_compress(char *base, unsigned int offset, unsigned char const *name, exit(MKFS_ERROR); } - *(u32 *) (base + offset) = u32_toggle_endianness(cramfs_is_big_endian, curr); + *(uint32_t *) (base + offset) = u32_toggle_endianness(cramfs_is_big_endian, curr); offset += 4; } while (size); @@ -736,7 +736,7 @@ int main(int argc, char **argv) loff_t fslen_ub = sizeof(struct cramfs_super); unsigned int fslen_max; char const *dirname, *outfile; - u32 crc = crc32(0L, Z_NULL, 0); + uint32_t crc = crc32(0L, Z_NULL, 0); int c; cramfs_is_big_endian = HOST_IS_BIG_ENDIAN; /* default is to use host order */ |