summaryrefslogtreecommitdiff
path: root/zinflate.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-12-31 02:24:16 -0500
committerJeffrey Walton <noloader@gmail.com>2017-12-31 02:24:16 -0500
commitba98c2bfb92eedd541622a2d904a6d4b35b5dd71 (patch)
treeb7147bdbba3be14316ab8cdcc8896fae0d27c7d9 /zinflate.cpp
parent651563e6c230ff9d8b42e3265099b90e398497bd (diff)
downloadcryptopp-git-ba98c2bfb92eedd541622a2d904a6d4b35b5dd71.tar.gz
Clear signed/unsigned warning in Debug
Diffstat (limited to 'zinflate.cpp')
-rw-r--r--zinflate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/zinflate.cpp b/zinflate.cpp
index f78d3efd..9a41462f 100644
--- a/zinflate.cpp
+++ b/zinflate.cpp
@@ -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;