diff options
author | Jeffrey Walton <noloader@gmail.com> | 2015-07-17 10:40:22 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2015-07-17 10:40:22 -0400 |
commit | 0578334f7ae5f405412df2b7e083e26f14ef509a (patch) | |
tree | 979176fba8489cbd52c8e29deea2a213c0a9ad99 /zdeflate.cpp | |
parent | 3faaf986a4ad0bfa75892ebcbee845ddb1fca2a2 (diff) | |
download | cryptopp-git-0578334f7ae5f405412df2b7e083e26f14ef509a.tar.gz |
Cleared warning under Visual Studio
Diffstat (limited to 'zdeflate.cpp')
-rw-r--r-- | zdeflate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zdeflate.cpp b/zdeflate.cpp index bdcd7ba4..3fad0842 100644 --- a/zdeflate.cpp +++ b/zdeflate.cpp @@ -419,7 +419,7 @@ inline void Deflator::InsertString(unsigned int start) { unsigned int hash = ComputeHash(m_byteBuffer + start); m_prev[start & DMASK] = m_head[hash]; - m_head[hash] = start; + m_head[hash] = static_cast<word16>(start); } void Deflator::ProcessBuffer() |