Skip to content

Commit

Permalink
Update lib2bit version to 0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 committed Nov 19, 2024
1 parent 0dd3450 commit e996b6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/bio/twobit/2bit.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ void bytes2bases(char *seq, uint8_t *byte, uint32_t sz, int offset) {

// Deal with the first partial byte
if(offset != 0) {
while(offset < 4) {
while(offset < 4 && pos < sz) {
seq[pos++] = byte2base(foo, offset++);
}
if(pos >= sz) return;
Expand Down

0 comments on commit e996b6d

Please sign in to comment.