We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ff69080 commit e81ae83Copy full SHA for e81ae83
src/bam/mod.rs
@@ -889,12 +889,12 @@ impl HeaderView {
889
.collect()
890
}
891
892
- pub fn target_len(&self, tid: u32) -> Option<u32> {
+ pub fn target_len(&self, tid: u32) -> Option<u64> {
893
let inner = unsafe { *self.inner };
894
if (tid as i32) < inner.n_targets {
895
let l: &[u32] =
896
unsafe { slice::from_raw_parts(inner.target_len, inner.n_targets as usize) };
897
- Some(l[tid as usize])
+ Some(l[tid as usize] as u64)
898
} else {
899
None
900
0 commit comments