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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue