summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_to_signed_bin.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)
commit0faaca01de4e9fa2039c7fdd34f60b138f665249 (patch)
treedfc95748319b9285f975bf6225313dfb5686f16c /libtommath/bn_mp_to_signed_bin.c
parent130ba65bbe11f114680bbd9f9d45ec3b5de0caef (diff)
downloadtcl-0faaca01de4e9fa2039c7fdd34f60b138f665249.zip
tcl-0faaca01de4e9fa2039c7fdd34f60b138f665249.tar.gz
tcl-0faaca01de4e9fa2039c7fdd34f60b138f665249.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_to_signed_bin.c')
-rw-r--r--libtommath/bn_mp_to_signed_bin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/bn_mp_to_signed_bin.c b/libtommath/bn_mp_to_signed_bin.c
index c49c87d..69f6423 100644
--- a/libtommath/bn_mp_to_signed_bin.c
+++ b/libtommath/bn_mp_to_signed_bin.c
@@ -16,7 +16,7 @@
*/
/* store in signed [big endian] format */
-int mp_to_signed_bin (mp_int * a, unsigned char *b)
+int mp_to_signed_bin (const mp_int * a, unsigned char *b)
{
int res;