commit 48f31f0e4374a1a6a8e4c1781390d64f256d355f
parent 381646ad5b2c3aea7891364f352466fc3ea51e68
Author: sin <sin@2f30.org>
Date:   Mon, 13 May 2019 23:10:25 +0100
Fixup pack/unpack prototypes
Diffstat:
2 files changed, 4 insertions(+), 4 deletions(-)
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;
 
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;