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).
This commit is contained in:
Ben Harris
2023-02-18 23:14:12 +00:00
parent 3c3468355f
commit 26c7f3aa28
5 changed files with 9 additions and 9 deletions

View File

@ -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;