clear scratch bits to zero in flush bits instead of subtracting 32
@@ -199,7 +199,7 @@ namespace yojimbo
assert( m_wordIndex < m_numWords );
m_data[m_wordIndex] = host_to_network( uint32_t( m_scratch & 0xFFFFFFFF ) );
m_scratch >>= 32;
- m_scratchBits -= 32;
+ m_scratchBits = 0;
m_wordIndex++;
}
}
