Skip to content

Commit

Permalink
Fix warning about signed->unsigned conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
moinakb001 committed Nov 8, 2022
1 parent a2dcf74 commit 17cf4ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/alg-yescrypt-opt.c
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ static volatile uint64_t Smask2var = Smask2;
#define PWXFORM_SIMD(X) { \
uint64_t x; \
FORCE_REGALLOC_1 \
uint32_t lo = (uint32_t)(x = EXTRACT64(X) & Smask2reg); \
uint32_t lo = (uint32_t)(x = ((uint64_t)EXTRACT64(X)) & Smask2reg); \
FORCE_REGALLOC_2 \
uint32_t hi = x >> 32; \
X = _mm_mul_epu32(HI32(X), X); \
Expand Down

0 comments on commit 17cf4ce

Please sign in to comment.