Cleared warning under Visual Studio

pull/35/head
Jeffrey Walton 2015-07-17 10:40:22 -04:00
parent 3faaf986a4
commit 0578334f7a
1 changed files with 1 additions and 1 deletions

View File

@ -419,7 +419,7 @@ inline void Deflator::InsertString(unsigned int start)
{ {
unsigned int hash = ComputeHash(m_byteBuffer + start); unsigned int hash = ComputeHash(m_byteBuffer + start);
m_prev[start & DMASK] = m_head[hash]; m_prev[start & DMASK] = m_head[hash];
m_head[hash] = start; m_head[hash] = static_cast<word16>(start);
} }
void Deflator::ProcessBuffer() void Deflator::ProcessBuffer()