Skip to content

Commit

Permalink
Fix type conversion in twobit_sequence function
Browse files Browse the repository at this point in the history
  • Loading branch information
kojix2 committed Sep 19, 2024
1 parent 27a5053 commit df01566
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/bio/twobit/twobit.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,8 +250,8 @@ twobit_sequence(VALUE self, VALUE chrom, VALUE rbstart, VALUE rbend)
TwoBit *tb;

ch = StringValueCStr(chrom);
startl = NUM2UINT32(rbstart);
endl = NUM2UINT32(rbend);
startl = NUM2ULONG(rbstart);
endl = NUM2ULONG(rbend);
tb = getTwoBit(self);

if (!tb)
Expand Down

0 comments on commit df01566

Please sign in to comment.