Skip to content

Commit

Permalink
fix clippy lint
Browse files Browse the repository at this point in the history
  • Loading branch information
newpavlov committed Jan 10, 2024
1 parent 782b4e9 commit 9cc9496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sha2/src/sha512/x86.rs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ unsafe fn rounds_0_63_avx2(

for i in 1..5 {
for j in 0..8 {
let t = _mm_loadu_si128(K64.as_ptr().add(k64x4_idx) as *const u64 as *const _);
let t = _mm_loadu_si128(K64.as_ptr().add(k64x4_idx).cast());
let y = sha512_update_x_avx2(x, _mm256_set_m128i(t, t));

{
Expand Down

0 comments on commit 9cc9496

Please sign in to comment.