mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-27 09:58:45 +01:00
init bitfield to 0 in case I want to hash stream directly
This commit is contained in:
parent
652fe6dd64
commit
47dde6cf3c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue