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?)pull/157/head
parent
f4d8b054b3
commit
2dde105c3f
|
|
@ -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:
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue