summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_toradix_n.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-09-15 13:08:31 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-09-15 13:08:31 (GMT)
commit8f339500a2b79c84698261987f664ed30af94814 (patch)
treedfc95748319b9285f975bf6225313dfb5686f16c /libtommath/bn_mp_toradix_n.c
parentbf01a303da2833ef352dae626b2a8d4929aaca37 (diff)
downloadtcl-8f339500a2b79c84698261987f664ed30af94814.zip
tcl-8f339500a2b79c84698261987f664ed30af94814.tar.gz
tcl-8f339500a2b79c84698261987f664ed30af94814.tar.bz2
'const'ify more libtommath functions. All functions in generic/tclTomMath.decls (used by Tcl) are done now.
Diffstat (limited to 'libtommath/bn_mp_toradix_n.c')
-rw-r--r--libtommath/bn_mp_toradix_n.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/bn_mp_toradix_n.c b/libtommath/bn_mp_toradix_n.c
index ae24ada..c0079c8 100644
--- a/libtommath/bn_mp_toradix_n.c
+++ b/libtommath/bn_mp_toradix_n.c
@@ -19,7 +19,7 @@
*
* Stores upto maxlen-1 chars and always a NULL byte
*/
-int mp_toradix_n(mp_int * a, char *str, int radix, int maxlen)
+int mp_toradix_n(const mp_int * a, char *str, int radix, int maxlen)
{
int res, digs;
mp_int t;