From c31102bc0eb70a166f050efe876d17dce809a9a6 Mon Sep 17 00:00:00 2001 From: Karel Miko Date: Sat, 18 Apr 2015 19:32:09 +0200 Subject: [PATCH] fix warning: expected "mp_digit *" but argument is of type "long unsigned int *" --- bn_mp_sqrtmod_prime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bn_mp_sqrtmod_prime.c b/bn_mp_sqrtmod_prime.c index 1399fe0..b1a0441 100644 --- a/bn_mp_sqrtmod_prime.c +++ b/bn_mp_sqrtmod_prime.c @@ -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) {