From 26c7f3aa285a45176c940afebe3885ad2be2ed65 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 18 Feb 2023 23:14:12 +0000 Subject: Miscellaneous const fixes These are cases where -Wcast-qual complained and the only change needed was to add or remove a "const" (or sometimes an entire cast). --- random.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'random.c') diff --git a/random.c b/random.c index fb54560..5527d6f 100644 --- a/random.c +++ b/random.c @@ -109,7 +109,7 @@ void SHA_Init(SHA_State * s) void SHA_Bytes(SHA_State * s, const void *p, int len) { - unsigned char *q = (unsigned char *) p; + const unsigned char *q = (const unsigned char *) p; uint32 wordblock[16]; uint32 lenw = len; int i; -- cgit v1.1