mirror of
https://github.com/doitsujin/dxvk.git
synced 2025-02-20 19:54:19 +01:00
[util] Work around silly compiler warnings on GCC 12.1
No, we're not actually reading 64 bytes from a 1-byte area.
This commit is contained in:
parent
52038b2f83
commit
379c2e545e
@ -48,7 +48,7 @@ typedef union {
|
||||
* Hash a single 512-bit block. This is the core of the algorithm.
|
||||
*/
|
||||
void
|
||||
SHA1Transform(uint32_t state[5], const uint8_t buffer[SHA1_BLOCK_LENGTH])
|
||||
SHA1Transform(uint32_t state[5], const uint8_t* buffer)
|
||||
{
|
||||
uint32_t a, b, c, d, e;
|
||||
uint8_t workspace[SHA1_BLOCK_LENGTH];
|
||||
|
@ -28,7 +28,7 @@ typedef struct _SHA1_CTX {
|
||||
|
||||
void SHA1Init(SHA1_CTX *);
|
||||
void SHA1Pad(SHA1_CTX *);
|
||||
void SHA1Transform(uint32_t [5], const uint8_t [SHA1_BLOCK_LENGTH]);
|
||||
void SHA1Transform(uint32_t [5], const uint8_t*);
|
||||
void SHA1Update(SHA1_CTX *, const uint8_t *, size_t);
|
||||
void SHA1Final(uint8_t [SHA1_DIGEST_LENGTH], SHA1_CTX *);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user