summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_cmp.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtommath/bn_mp_cmp.c')
-rw-r--r--libtommath/bn_mp_cmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/bn_mp_cmp.c b/libtommath/bn_mp_cmp.c
index b965d4b..943249d 100644
--- a/libtommath/bn_mp_cmp.c
+++ b/libtommath/bn_mp_cmp.c
@@ -17,7 +17,7 @@
/* compare two ints (signed)*/
int
-mp_cmp (mp_int * a, mp_int * b)
+mp_cmp (const mp_int * a, const mp_int * b)
{
/* compare based on sign */
if (a->sign != b->sign) {