diff --git a/src/3rdparty/monocypher/monocypher.c b/src/3rdparty/monocypher/monocypher.c index 5ad89e7b0e..4d5162e3fe 100644 --- a/src/3rdparty/monocypher/monocypher.c +++ b/src/3rdparty/monocypher/monocypher.c @@ -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.