mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-29 08:14:27 +01:00
Added conversion to int for a t_uint value to prevent compiler warnings
On 64-bit platforms t_uint can be larger than int resulting in compiler warnings on some platforms (MS Visual Studio)
This commit is contained in:
parent
3d2dc0f8e5
commit
8ddb645ad3
@ -1372,7 +1372,7 @@ static void mpi_montred( mpi *A, const mpi *N, t_uint mm, const mpi *T )
|
||||
t_uint z = 1;
|
||||
mpi U;
|
||||
|
||||
U.n = U.s = z;
|
||||
U.n = U.s = (int) z;
|
||||
U.p = &z;
|
||||
|
||||
mpi_montmul( A, &U, N, mm, T );
|
||||
|
Loading…
Reference in New Issue
Block a user