summaryrefslogtreecommitdiff
path: root/zinflate.cpp
diff options
context:
space:
mode:
authordenisbider <denisbider@users.noreply.github.com>2016-04-20 17:07:44 -0600
committerdenisbider <denisbider@users.noreply.github.com>2016-04-20 17:07:44 -0600
commit2dde105c3fea7a92a5ba08e23ab9f6a20dd8e69c (patch)
tree744a94d7158b6385d4cc5b9f4b44263abeea3fdb /zinflate.cpp
parentf4d8b054b373098e170453bab6ca411cc6021dc6 (diff)
downloadcryptopp-git-2dde105c3fea7a92a5ba08e23ab9f6a20dd8e69c.tar.gz
Add size_t cast to resolve VS warning C4334
Resolve C4334: 'operator' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)
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 11cbbff0..9ce7fbe9 100644
--- a/zinflate.cpp
+++ b/zinflate.cpp
@@ -339,7 +339,7 @@ void Inflator::ProcessInput(bool flush)
m_wrappedAround = false;
m_current = 0;
m_lastFlush = 0;
- m_window.New(1 << GetLog2WindowSize());
+ m_window.New(((size_t) 1) << GetLog2WindowSize());
break;
case WAIT_HEADER:
{