summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-10-22 14:09:24 (GMT)
committerBrad King <brad.king@kitware.com>2015-10-22 14:18:27 (GMT)
commit85e0bb84f5eca2f77f070bce9f83024854096307 (patch)
tree39e25567667afc8d1f86b08a303a6aa39bd12a79 /Utilities
parentc70491d671b363b50a41d707d5fe82b02fe29424 (diff)
downloadCMake-85e0bb84f5eca2f77f070bce9f83024854096307.zip
CMake-85e0bb84f5eca2f77f070bce9f83024854096307.tar.gz
CMake-85e0bb84f5eca2f77f070bce9f83024854096307.tar.bz2
libarchive: Avoid using 'uint8_t' as bitfield type
The IBM XL compiler does not like it. Use plain 'unsigned' instead.
Diffstat (limited to 'Utilities')
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_write_add_filter_lz4.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_write_add_filter_lz4.c b/Utilities/cmlibarchive/libarchive/archive_write_add_filter_lz4.c
index 87b3f55..e23e5e9 100644
--- a/Utilities/cmlibarchive/libarchive/archive_write_add_filter_lz4.c
+++ b/Utilities/cmlibarchive/libarchive/archive_write_add_filter_lz4.c
@@ -54,14 +54,14 @@ __FBSDID("$FreeBSD$");
struct private_data {
int compression_level;
- uint8_t header_written:1;
- uint8_t version_number:1;
- uint8_t block_independence:1;
- uint8_t block_checksum:1;
- uint8_t stream_size:1;
- uint8_t stream_checksum:1;
- uint8_t preset_dictionary:1;
- uint8_t block_maximum_size:3;
+ unsigned header_written:1;
+ unsigned version_number:1;
+ unsigned block_independence:1;
+ unsigned block_checksum:1;
+ unsigned stream_size:1;
+ unsigned stream_checksum:1;
+ unsigned preset_dictionary:1;
+ unsigned block_maximum_size:3;
#if defined(HAVE_LIBLZ4) && LZ4_VERSION_MAJOR >= 1 && LZ4_VERSION_MINOR >= 2
int64_t total_in;
char *out;