diff options
author | Moinak Bhattacharyya <moinakb001@gmail.com> | 2022-11-08 04:37:13 -0600 |
---|---|---|
committer | Moinak Bhattacharyya <moinakb001@gmail.com> | 2022-11-08 04:37:13 -0600 |
commit | 17cf4ce8af5a2a1af4c0f52260019cbae01835b8 (patch) | |
tree | 7a043829babadf2af6fac2016f113033413e3d5c | |
parent | a2dcf74fce24aeba2a7e191a4b294b8f9622a3a8 (diff) | |
download | libxcrypt-17cf4ce8af5a2a1af4c0f52260019cbae01835b8.tar.gz libxcrypt-17cf4ce8af5a2a1af4c0f52260019cbae01835b8.tar.bz2 libxcrypt-17cf4ce8af5a2a1af4c0f52260019cbae01835b8.zip |
Fix warning about signed->unsigned conversion
-rw-r--r-- | lib/alg-yescrypt-opt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/alg-yescrypt-opt.c b/lib/alg-yescrypt-opt.c index dacc73b..a33c6e4 100644 --- a/lib/alg-yescrypt-opt.c +++ b/lib/alg-yescrypt-opt.c @@ -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); \ |