aboutsummaryrefslogtreecommitdiffstats
path: root/test.c
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-23 14:20:43 +0100
committerMattias Andrée <m@maandree.se>2026-02-23 14:20:43 +0100
commite7bae9c3cd0d267ebac380e34ee1cd0c1e6cf740 (patch)
tree8c09b3ea8e4b0e9b518ca5c8bacaef492bc64282 /test.c
parentm fixes (diff)
downloadblakesum-1.0.1.tar.gz
blakesum-1.0.1.tar.bz2
blakesum-1.0.1.tar.xz
fix warningsHEAD1.0.1master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'test.c')
-rw-r--r--test.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/test.c b/test.c
index 7908dd4..21c0f27 100644
--- a/test.c
+++ b/test.c
@@ -214,7 +214,14 @@ hashx(unsigned char **msg, size_t msglen, size_t *msgsize,
ssize_t r;
int status;
+ (void) msgsize;
+ (void) testno;
+ (void) test_lineno;
+ (void) path;
+
if (keylen) {
+ (void) key;
+ (void) keysize;
/* KEY OPTION IS NOT YET IMPLEMENTED */
*outlen = hashlen;
if (*outsize < hashlen) {
@@ -248,7 +255,7 @@ hashx(unsigned char **msg, size_t msglen, size_t *msgsize,
ERROR("Internal test error: %s\n", strerror(errno));
close(output_pipe[1]);
}
- execv(argv[0], (void *const)argv);
+ execv(argv[0], *(char ***)(void *)&argv);
ERROR("Internal test error: %s\n", strerror(errno));
/* $covered}$ */