fix warning: expected "mp_digit *" but argument is of type "long unsigned int *"

This commit is contained in:
Karel Miko 2015-04-18 19:32:09 +02:00 committed by Tom St Denis
parent 1f8894790b
commit c31102bc0e
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ int mp_sqrtmod_prime(mp_int *n, mp_int *prime, mp_int *ret)
{
int res, legendre;
mp_int t1, C, Q, S, Z, M, T, R, two;
unsigned long i;
mp_digit i;
/* first handle the simple cases */
if (mp_cmp_d(n, 0) == MP_EQ) {