fix warning: expected "mp_digit *" but argument is of type "long unsigned int *"
This commit is contained in:
parent
1f8894790b
commit
c31102bc0e
@ -19,7 +19,7 @@ int mp_sqrtmod_prime(mp_int *n, mp_int *prime, mp_int *ret)
|
|||||||
{
|
{
|
||||||
int res, legendre;
|
int res, legendre;
|
||||||
mp_int t1, C, Q, S, Z, M, T, R, two;
|
mp_int t1, C, Q, S, Z, M, T, R, two;
|
||||||
unsigned long i;
|
mp_digit i;
|
||||||
|
|
||||||
/* first handle the simple cases */
|
/* first handle the simple cases */
|
||||||
if (mp_cmp_d(n, 0) == MP_EQ) {
|
if (mp_cmp_d(n, 0) == MP_EQ) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user