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:
Paul Bakker 2013-02-27 14:56:33 +01:00
parent 3d2dc0f8e5
commit 8ddb645ad3

View file

@ -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 );