summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_toradix.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtommath/bn_mp_toradix.c')
-rw-r--r--libtommath/bn_mp_toradix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/bn_mp_toradix.c b/libtommath/bn_mp_toradix.c
index 3337765..59676a7 100644
--- a/libtommath/bn_mp_toradix.c
+++ b/libtommath/bn_mp_toradix.c
@@ -16,7 +16,7 @@
*/
/* stores a bignum as a ASCII string in a given radix (2..64) */
-int mp_toradix (mp_int * a, char *str, int radix)
+int mp_toradix (const mp_int * a, char *str, int radix)
{
int res, digs;
mp_int t;