Switch to static_cast

pull/489/head
Jeffrey Walton 2017-09-03 20:33:01 -04:00
parent e7974c7915
commit 8578383e2c
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ void Poly1305_Base<T>::UncheckedSetKey(const byte *key, unsigned int length, con
if (key && length)
{
// key is {k,r} pair, r is 16 bytes
length = SaturatingSubtract(length, (unsigned)BLOCKSIZE);
length = SaturatingSubtract(length, static_cast<unsigned int>(BLOCKSIZE));
m_cipher.SetKey(key, length);
key += length;