Skip to content

Commit 15a95e3

Browse files
fix: remove unnecessary parentheses in size calculation
1 parent 6949245 commit 15a95e3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/and64inlinehook/and64inlinehook.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ unsafe fn fix_instructions(mut inp: *const u32, count: i32, mut outp: *mut u32)
562562
outp = outp.add(1);
563563
}
564564

565-
let total = (outp as usize - outp_base as usize);
565+
let total = outp as usize - outp_base as usize;
566566
flush_cache(outp_base, total);
567567
}
568568

0 commit comments

Comments
 (0)