summaryrefslogtreecommitdiffstats
path: root/generic/tclStrToD.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-23 14:11:37 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-10-23 14:11:37 (GMT)
commitb986f3138510aaaf704b87f39e2815ad6e3fa5ac (patch)
treea7fe057b8928510736187536bd43ec265f28287b /generic/tclStrToD.c
parent6b002a2d06574c33145c29bd823886ef719e2f7c (diff)
downloadtcl-b986f3138510aaaf704b87f39e2815ad6e3fa5ac.zip
tcl-b986f3138510aaaf704b87f39e2815ad6e3fa5ac.tar.gz
tcl-b986f3138510aaaf704b87f39e2815ad6e3fa5ac.tar.bz2
Deprecate mp_unsigned_bin_size, mp_init_set_int, mp_set_int, which are deprecated in libtommath 1.2.0.
In stead, add new function mp_set_ul to the build (mp_ubin_size was already included in the build earlier)
Diffstat (limited to 'generic/tclStrToD.c')
-rw-r--r--generic/tclStrToD.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStrToD.c b/generic/tclStrToD.c
index 00ac3dc..cb55e14 100644
--- a/generic/tclStrToD.c
+++ b/generic/tclStrToD.c
@@ -4385,7 +4385,7 @@ TclInitDoubleConversion(void)
for (i=0; i<8; ++i) {
mp_sqr(pow5+i, pow5+i+1);
}
- mp_init_set_int(pow5_13, 1220703125);
+ mp_init_ul(pow5_13, 1220703125);
for (i = 1; i < 5; ++i) {
mp_init(pow5_13 + i);
mp_sqr(pow5_13 + i - 1, pow5_13 + i);