summaryrefslogtreecommitdiff
path: root/zinflate.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2006-03-13 13:26:41 +0000
committerweidai <weidai11@users.noreply.github.com>2006-03-13 13:26:41 +0000
commit922fdeb1508e89b25d684378a269e319c927d91d (patch)
treef30468f446dfdde7bc27bc6c82de67f227721b05 /zinflate.cpp
parent80a9a45ad09512f6d2dd4f806ff774d79fcda5df (diff)
downloadcryptopp-git-922fdeb1508e89b25d684378a269e319c927d91d.tar.gz
fix MSVC 2005 warnings
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 e0be8ba7..4a43420f 100644
--- a/zinflate.cpp
+++ b/zinflate.cpp
@@ -138,7 +138,7 @@ void HuffmanDecoder::Initialize(const unsigned int *codeBits, unsigned int nCode
m_normalizedCacheMask = NormalizeCode(m_cacheMask, m_cacheBits);
assert(m_normalizedCacheMask == BitReverse(m_cacheMask));
- if (m_cache.size() != 1 << m_cacheBits)
+ if (m_cache.size() != size_t(1) << m_cacheBits)
m_cache.resize(1 << m_cacheBits);
for (i=0; i<m_cache.size(); i++)