Monocypher: Fix narrowing conversion warning
This commit is contained in:
2
src/3rdparty/monocypher/monocypher.c
vendored
2
src/3rdparty/monocypher/monocypher.c
vendored
@@ -1685,7 +1685,7 @@ static int is_above_l(const u32 x[8])
|
||||
carry += (u64)x[i] + ~L[i];
|
||||
carry >>= 32;
|
||||
}
|
||||
return carry;
|
||||
return (int)carry;
|
||||
}
|
||||
|
||||
// Final reduction modulo L, by conditionally removing L.
|
||||
|
||||
Reference in New Issue
Block a user