Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed May 10, 2024
1 parent 40793b8 commit f9807c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bam/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1127,7 +1127,7 @@ impl Writer {
);

(*rec).text = text as *mut c_char;
(*rec).l_text = l_text as u64;
(*rec).l_text = l_text;

Check failure on line 1130 in src/bam/mod.rs

View workflow job for this annotation

GitHub Actions / clippy

mismatched types

error[E0308]: mismatched types --> src/bam/mod.rs:1130:29 | 1130 | (*rec).l_text = l_text; | ------------- ^^^^^^ expected `u64`, found `usize` | | | expected due to the type of this binding

Check failure on line 1130 in src/bam/mod.rs

View workflow job for this annotation

GitHub Actions / Testing-Features (no-default-features)

mismatched types
rec
};

Expand Down

0 comments on commit f9807c0

Please sign in to comment.