Cleared "signed/unsigned" warning under GCC 4.8

pull/35/head
Jeffrey Walton 2015-07-26 01:40:57 -04:00
parent 6f4e331cf0
commit e6e1ce66f8
1 changed files with 1 additions and 1 deletions

View File

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