Commit 382a561ca177d529bbee3e61ce88f257b07acfcc

Francois Perrad 2019-04-04T19:07:24

literal suffix

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/bn_mp_decr.c b/bn_mp_decr.c
index 9dd271a..ea63034 100644
--- a/bn_mp_decr.c
+++ b/bn_mp_decr.c
@@ -23,7 +23,7 @@ int mp_decr(mp_int *a)
       return MP_OKAY;
    } else if (a->dp[0] > 1uL) {
       a->dp[0]--;
-      if (a->dp[0] == 0) {
+      if (a->dp[0] == 0u) {
          mp_zero(a);
       }
       return MP_OKAY;