From fbe82bfd23d309ae35014ade421cbeb1970f46e2 Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Thu, 9 Dec 2021 11:15:02 +0100 Subject: [PATCH] Fixed -Wcast-qual warning from GCC --- sha256.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sha256.cpp b/sha256.cpp index 8f0857d..d1ebad4 100644 --- a/sha256.cpp +++ b/sha256.cpp @@ -107,7 +107,7 @@ void SHA256::processBlock(const void* data) uint32_t h = m_hash[7]; // data represented as 16x 32-bit words - const uint32_t* input = (uint32_t*) data; + const uint32_t* input = (const uint32_t*) data; // convert to big endian uint32_t words[64]; int i;