From 51a37ecf2ab311f9e167447137655a46136e4138 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Mon, 3 Jan 2022 22:31:21 +0000 Subject: [PATCH] Monocypher: Fix narrowing conversion warning --- src/3rdparty/monocypher/monocypher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.