Monocypher: Fix narrowing conversion warning

This commit is contained in:
Jonathan G Rennison
2022-01-03 22:31:21 +00:00
parent ab17deae3a
commit 51a37ecf2a

View File

@@ -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.