Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchang committed Aug 15, 2024
1 parent b825857 commit 2abc5d7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion 2.0/include/plink2_bgzf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,8 @@ THREAD_FUNC_DECL BgzfCompressorThread(void* raw_arg) {
nwrite = S_CAST(uint32_t, bsize) + 1;
}
cww->nbytes = nwrite;
cww->eof = cwp->eof;
const uint32_t eof = cwp->eof;
cww->eof = eof;
cwp->nbytes = UINT32_MAX;
#ifdef _WIN32
SetEvent(cwp->ucbuf_open_event);
Expand Down

0 comments on commit 2abc5d7

Please sign in to comment.