tFix type warning, switch to void * - dedup - deduplicating backup program
HTML git clone git://git.z3bra.org/dedup.git
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit a569b0ac6786bf6fc68a65ae6159d0e8ac90bb37
DIR parent a418e1982015c28bdca5d2ea67976c0e40f053ac
HTML Author: sin <sin@2f30.org>
Date: Tue, 14 May 2019 12:31:34 +0100
Fix type warning, switch to void *
Diffstat:
M bcompress.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
DIR diff --git a/bcompress.c b/bcompress.c
t@@ -64,7 +64,7 @@ struct cd {
/* Unpack compression descriptor */
static int
-unpackcd(unsigned char *buf, struct cd *cd)
+unpackcd(void *buf, struct cd *cd)
{
int n;
t@@ -79,7 +79,7 @@ unpackcd(unsigned char *buf, struct cd *cd)
/* Pack compression descriptor */
static int
-packcd(unsigned char *buf, struct cd *cd)
+packcd(void *buf, struct cd *cd)
{
int n;