1 Commits

Author SHA1 Message Date
Chenxi Mao
f206415294 Fix build error if AVX2 enabled
Below build error found if AVX2 enabled:

[   17s] lib/alg-yescrypt-opt.c:517:33: error: conversion to 'long long unsigned int' from 'long long int' may change the sign of the result [-Werror=sign-conversion]
[   17s]   517 |  uint32_t lo = x = EXTRACT64(X) & Smask2reg; \

Cherry pick upstream patches to fix this error.

Signed-off-by: Chenxi Mao <chenxi.mao@suse.com>
2023-06-09 15:31:44 +08:00