Fixup pack/unpack prototypes - 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 48f31f0e4374a1a6a8e4c1781390d64f256d355f DIR parent 381646ad5b2c3aea7891364f352466fc3ea51e68 HTML Author: sin <sin@2f30.org> Date: Mon, 13 May 2019 23:10:25 +0100 Fixup pack/unpack prototypes Diffstat: M bcompress.c | 4 ++-- M bencrypt.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) --- DIR diff --git a/bcompress.c b/bcompress.c @@ -66,7 +66,7 @@ struct cd { /* Unpack compression descriptor */ static int -unpackcd(void *buf, struct cd *cd) +unpackcd(unsigned char *buf, struct cd *cd) { int n; @@ -81,7 +81,7 @@ unpackcd(void *buf, struct cd *cd) /* Pack compression descriptor */ static int -packcd(void *buf, struct cd *cd) +packcd(unsigned char *buf, struct cd *cd) { int n; DIR diff --git a/bencrypt.c b/bencrypt.c @@ -66,7 +66,7 @@ struct ed { /* Unpack encryption descriptor */ static int -unpacked(void *buf, struct ed *ed) +unpacked(unsigned char *buf, struct ed *ed) { int n; @@ -82,7 +82,7 @@ unpacked(void *buf, struct ed *ed) /* Pack encryption descriptor */ static int -packed(void *buf, struct ed *ed) +packed(unsigned char *buf, struct ed *ed) { int n;