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 9047060..a33d483 100644
--- a/libtommath/bn_mp_cmp.c
+++ b/libtommath/bn_mp_cmp.c
@@ -16,7 +16,7 @@
*/
/* compare two ints (signed)*/
-int mp_cmp(mp_int *a, mp_int *b)
+int mp_cmp(const mp_int *a, const mp_int *b)
{
/* compare based on sign */
if (a->sign != b->sign) {