From 35a2ef10a23a9b668428c931f408a4a8154adbc9 Mon Sep 17 00:00:00 2001 From: Ralph Tandetzky Date: Thu, 1 Dec 2016 15:37:04 +0100 Subject: Fix: GCC warning "type qualifiers ignored on function return type". This pedantic message appeared all over the code. Also removed one warning about an unused variable in release build. --- shacal2.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shacal2.h') diff --git a/shacal2.h b/shacal2.h index 34c07cbb..6be71e1e 100644 --- a/shacal2.h +++ b/shacal2.h @@ -15,7 +15,7 @@ NAMESPACE_BEGIN(CryptoPP) //! \brief SHACAL2 block cipher information struct SHACAL2_Info : public FixedBlockSize<32>, public VariableKeyLength<16, 16, 64> { - CRYPTOPP_STATIC_CONSTEXPR char* const StaticAlgorithmName() {return "SHACAL-2";} + CRYPTOPP_STATIC_CONSTEXPR const char* StaticAlgorithmName() {return "SHACAL-2";} }; //! \class SHACAL2 -- cgit v1.2.1