diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-09-15 13:08:31 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2017-09-15 13:08:31 (GMT) |
commit | 8f339500a2b79c84698261987f664ed30af94814 (patch) | |
tree | dfc95748319b9285f975bf6225313dfb5686f16c /libtommath/bn_mp_toradix_n.c | |
parent | bf01a303da2833ef352dae626b2a8d4929aaca37 (diff) | |
download | tcl-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.c | 2 |
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; |