dedup

deduplicating backup program
git clone git://git.2f30.org/dedup
Log | Files | Refs | README | LICENSE

commit f709da02b88deac6ea814cdb95e770919e394269
parent 0b9b91faf2325a32e7eb1392373efd88a04b75fe
Author: sin <sin@2f30.org>
Date:   Fri,  3 May 2019 00:10:15 +0100

Fix signed/unsigned warnings

Diffstat:
Mbencrypt.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

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 */