Clear signed/unsigned warning in Debug

This commit is contained in:
Jeffrey Walton 2017-12-31 02:24:16 -05:00
parent 651563e6c2
commit ba98c2bfb9
No known key found for this signature in database
GPG Key ID: B36AB348921B1838

View File

@ -182,7 +182,7 @@ void HuffmanDecoder::FillCacheEntry(LookupEntry &entry, code_t normalizedCode) c
inline unsigned int HuffmanDecoder::Decode(code_t code, /* out */ value_t &value) const
{
CRYPTOPP_ASSERT(((int)(code & m_cacheMask)) < m_cache.size());
CRYPTOPP_ASSERT(((int)(code & m_cacheMask)) < (int)m_cache.size());
LookupEntry &entry = m_cache[code & m_cacheMask];
code_t normalizedCode = 0;