Use uchar instead of uint8_t - dedup - deduplicating backup program HTML git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit da4b4d0cdd9238ff2993c3957d0d16a2c9718ae9 DIR parent 97d304696333ad9b25d52e7cd9e02e7e2eee6f64 HTML Author: sin <sin@2f30.org> Date: Mon, 20 May 2019 13:18:26 +0300 Use uchar instead of uint8_t Diffstat: M bcompress.c | 2 +- M bencrypt.c | 2 +- M bstorage.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) --- DIR diff --git a/bcompress.c b/bcompress.c @@ -57,7 +57,7 @@ struct cctx { /* Compression descriptor */ struct cd { uint16_t type; /* compression algorithm type */ - uint8_t reserved[6]; + unsigned char reserved[6]; uint64_t size; }; DIR diff --git a/bencrypt.c b/bencrypt.c @@ -55,7 +55,7 @@ struct ectx { /* Encryption descriptor */ struct ed { uint16_t type; /* encryption algorithm type */ - uint8_t reserved[6]; /* should be set to 0 when writing */ + unsigned char reserved[6]; /* should be set to 0 when writing */ uint64_t size; /* size of encrypted block */ unsigned char nonce[crypto_aead_xchacha20poly1305_ietf_NPUBBYTES]; }; DIR diff --git a/bstorage.c b/bstorage.c @@ -78,7 +78,7 @@ struct bhdr { /* Block descriptor */ struct bd { uint16_t type; /* BDTYPE */ - uint8_t reserved[6]; /* should be set to 0 when writing */ + unsigned char reserved[6]; /* should be set to 0 when writing */ uint64_t offset; /* block offset */ uint64_t size; /* block size */ uint64_t refcnt; /* reference count of block, 0 if block is removed */