Fix signed/unsigned warnings - 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 f709da02b88deac6ea814cdb95e770919e394269 DIR parent 0b9b91faf2325a32e7eb1392373efd88a04b75fe HTML Author: sin <sin@2f30.org> Date: Fri, 3 May 2019 00:10:15 +0100 Fix signed/unsigned warnings Diffstat: M bencrypt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- DIR diff --git a/bencrypt.c b/bencrypt.c @@ -171,7 +171,7 @@ beput(struct bctx *bctx, void *buf, size_t n, unsigned char *md) struct ectx *ectx; struct bops *bops; struct ed ed; - char *ebuf; + unsigned char *ebuf; size_t en; /* Calculate size of encrypted block */ @@ -232,7 +232,7 @@ beget(struct bctx *bctx, unsigned char *md, void *buf, size_t *n) { struct bops *bops; struct ed ed; - char *ebuf; + unsigned char *ebuf; size_t dn, size; /* Calculate maximum size of encrypted block */