init bitfield to 0 in case I want to hash stream directly

This commit is contained in:
Eric House 2012-05-03 19:00:43 -07:00
parent 652fe6dd64
commit 47dde6cf3c

View file

@ -250,7 +250,7 @@ putOneBit( MemStreamCtxt* stream, XP_U16 bit )
if ( stream->curWritePos == stream->nBytesWritten ) {
stream_putU8( (XWStreamCtxt*)stream, 0 ); /* increments curPos */
} else {
++stream->curWritePos;
stream->buf[stream->curWritePos++] = 0;
}
}