Skip to content

Commit 7e5a1db

Browse files
authored
bolts linux arm64 clippy fix build (#1496)
1 parent 256d010 commit 7e5a1db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libafl_bolts/src/minibsod.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ pub fn dump_registers<W: Write>(
5656
writer: &mut BufWriter<W>,
5757
ucontext: &ucontext_t,
5858
) -> Result<(), std::io::Error> {
59-
for reg in 0..31 {
59+
for reg in 0..31_usize {
6060
write!(
6161
writer,
6262
"x{:02}: 0x{:016x} ",
63-
reg, ucontext.uc_mcontext.regs[reg as usize]
63+
reg, ucontext.uc_mcontext.regs[reg]
6464
)?;
6565
if reg % 4 == 3 {
6666
writeln!(writer)?;

0 commit comments

Comments
 (0)