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