Commit 5e66cfc66c937e5126a6ae0491ae235ca86d9198

Francois Perrad 2019-05-08T09:02:52

remove useless cast

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/bn_mp_reduce_is_2k.c b/bn_mp_reduce_is_2k.c
index aea0840..ba8958f 100644
--- a/bn_mp_reduce_is_2k.c
+++ b/bn_mp_reduce_is_2k.c
@@ -24,7 +24,7 @@ int mp_reduce_is_2k(const mp_int *a)
             return MP_NO;
          }
          iz <<= 1;
-         if (iz > (mp_digit)MP_MASK) {
+         if (iz > MP_MASK) {
             ++iw;
             iz = 1;
          }