summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_get_long.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-09-08 14:15:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-09-08 14:15:13 (GMT)
commit72cd4c6a0763c30b3f3a4fceb1ed78ad63711cb5 (patch)
treecdcbe1f7914fe91fdc459bb357195d82514df01c /libtommath/bn_mp_get_long.c
parent86eedd9ac8aa6c202c941fe08d1ec6fd255f422f (diff)
downloadtcl-72cd4c6a0763c30b3f3a4fceb1ed78ad63711cb5.zip
tcl-72cd4c6a0763c30b3f3a4fceb1ed78ad63711cb5.tar.gz
tcl-72cd4c6a0763c30b3f3a4fceb1ed78ad63711cb5.tar.bz2
Add some more functions from libtommath for availability within Tcl (mainly the 'long long' variants). Add more 'const' keywords there too.
Diffstat (limited to 'libtommath/bn_mp_get_long.c')
-rw-r--r--libtommath/bn_mp_get_long.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/bn_mp_get_long.c b/libtommath/bn_mp_get_long.c
index 7c3d0fe..da69080 100644
--- a/libtommath/bn_mp_get_long.c
+++ b/libtommath/bn_mp_get_long.c
@@ -16,7 +16,7 @@
*/
/* get the lower unsigned long of an mp_int, platform dependent */
-unsigned long mp_get_long(mp_int * a)
+unsigned long mp_get_long(const mp_int * a)
{
int i;
unsigned long res;