From 0e24617531b8f7c368cfd0676eac0a85322ea47f Mon Sep 17 00:00:00 2001 From: Johannes Koester Date: Fri, 10 May 2024 09:24:59 +0200 Subject: [PATCH] fix type --- src/bam/record.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bam/record.rs b/src/bam/record.rs index 8ddd35c12..22e6c8bdb 100644 --- a/src/bam/record.rs +++ b/src/bam/record.rs @@ -152,8 +152,8 @@ impl Record { let mut sam_string = htslib::kstring_t { s: sam_copy.as_ptr() as *mut c_char, - l: sam_copy.len() as u64, - m: sam_copy.len() as u64, + l: sam_copy.len(), + m: sam_copy.len(), }; let succ = unsafe {