fe.c: silence warning
using similar technique already used in line 166. MSVC warning is: warning C4146: unary minus operator applied to unsigned type, result still unsigned
This commit is contained in:
parent
761f035ad8
commit
ce1605aa90
2
src/fe.c
2
src/fe.c
@ -225,7 +225,7 @@ void fe_cswap(fe f,fe g,unsigned int b) {
|
|||||||
int32_t x7 = f7 ^ g7;
|
int32_t x7 = f7 ^ g7;
|
||||||
int32_t x8 = f8 ^ g8;
|
int32_t x8 = f8 ^ g8;
|
||||||
int32_t x9 = f9 ^ g9;
|
int32_t x9 = f9 ^ g9;
|
||||||
b = -b;
|
b = (unsigned int) (- (int) b); /* silence warning */
|
||||||
x0 &= b;
|
x0 &= b;
|
||||||
x1 &= b;
|
x1 &= b;
|
||||||
x2 &= b;
|
x2 &= b;
|
||||||
|
Loading…
Reference in New Issue
Block a user