summaryrefslogtreecommitdiffstats
path: root/libtommath
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-11-08 21:56:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-11-08 21:56:52 (GMT)
commit3160edd84157a0015c5a24607b70561077dbb55a (patch)
tree075dded7057c87ab6c6114ff81e8b15da99c2e29 /libtommath
parent89dd0dcb93da6f2bedd50f7cf5f78502281ddf77 (diff)
downloadtcl-3160edd84157a0015c5a24607b70561077dbb55a.zip
tcl-3160edd84157a0015c5a24607b70561077dbb55a.tar.gz
tcl-3160edd84157a0015c5a24607b70561077dbb55a.tar.bz2
Now that libtommath has mp_init_l/mp_init_ll/mp_init_ull, use those instead of the legacy TclBNInitBignumFromLong/TclBNInitBignumFromWideInt/TclBNInitBignumFromWideUInt
Diffstat (limited to 'libtommath')
-rw-r--r--libtommath/bn_mp_init_ll.c2
-rw-r--r--libtommath/bn_mp_init_ull.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libtommath/bn_mp_init_ll.c b/libtommath/bn_mp_init_ll.c
index dc7c4a4..484d51c 100644
--- a/libtommath/bn_mp_init_ll.c
+++ b/libtommath/bn_mp_init_ll.c
@@ -3,5 +3,5 @@
/* LibTomMath, multiple-precision integer library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
-MP_INIT_INT(mp_init_ll, mp_set_ll, long long)
+MP_INIT_INT(mp_init_ll, mp_set_ll, Tcl_WideInt)
#endif
diff --git a/libtommath/bn_mp_init_ull.c b/libtommath/bn_mp_init_ull.c
index 84110c0..92ad9f9 100644
--- a/libtommath/bn_mp_init_ull.c
+++ b/libtommath/bn_mp_init_ull.c
@@ -3,5 +3,5 @@
/* LibTomMath, multiple-precision integer library -- Tom St Denis */
/* SPDX-License-Identifier: Unlicense */
-MP_INIT_INT(mp_init_ull, mp_set_ull, unsigned long long)
+MP_INIT_INT(mp_init_ull, mp_set_ull, Tcl_WideUInt)
#endif