From c1f29df00588bdee003e7bfe714d307670c197e8 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 21 Feb 2024 17:43:47 -0600 Subject: [PATCH] Shut the compiler up. --- lib/hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hash.c b/lib/hash.c index 95241d94..2ba40145 100644 --- a/lib/hash.c +++ b/lib/hash.c @@ -324,7 +324,7 @@ void hash_by_name(int fd, char *name, char *result) if (CFG_TOYBOX_FLOAT) { hash->rconsttable32 = xmalloc(64*4); for (i = 0; i<64; i++) hash->rconsttable32[i] = fabs(sin(i+1))*(1LL<<32); - } else hash->rconsttable32 = md5nofloat; + } else hash->rconsttable32 = (void *)md5nofloat; } else if (name[3] == '2') { // sha224, sha256 hash->rconsttable32 = xmalloc(64*4); for (i=0; i<64; i++) hash->rconsttable32[i] = sha512nofloat[i] >> 32; -- 2.39.2