From 9a9b3d16cd8fb6d2caf7c2e94c17085021c52f5a Mon Sep 17 00:00:00 2001 From: Johannes Koester Date: Fri, 10 May 2024 11:07:35 +0200 Subject: [PATCH] fix --- src/bgzf/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bgzf/mod.rs b/src/bgzf/mod.rs index e558d01f8..69fae4ed1 100644 --- a/src/bgzf/mod.rs +++ b/src/bgzf/mod.rs @@ -257,7 +257,7 @@ impl std::io::Write for Writer { htslib::bgzf_write( self.inner, buf.as_ptr() as *mut libc::c_void, - buf.len() as u64, + buf.len(), ) }; if nbytes < 0 {