From e6e1ce66f851ea7a4e81a058ea27fe8eaee083aa Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 26 Jul 2015 01:40:57 -0400 Subject: [PATCH] Cleared "signed/unsigned" warning under GCC 4.8 --- validat2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validat2.cpp b/validat2.cpp index 26b2c5bb..47c7100d 100644 --- a/validat2.cpp +++ b/validat2.cpp @@ -112,7 +112,7 @@ bool SignatureValidate(PK_Signer &priv, PK_Verifier &pub, bool thorough = false) cout << "signature key validation\n"; static const byte message[] = "test message"; - const int messageLen = COUNTOF(message); + const unsigned int messageLen = COUNTOF(message); SecByteBlock signature(priv.MaxSignatureLength()); size_t signatureLength = priv.SignMessage(GlobalRNG(), message, messageLen, signature);