summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-16 15:10:45 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-12-16 15:10:45 (GMT)
commit07342a49f996d2bae8e35bfde42673055ff88c2a (patch)
treeb756492e5ae31c00f209a5acf94dd06aa7519a2c /generic
parenta8d835a698748db7cbfb161abf79e780c0538577 (diff)
parentfee0933a6140b25faa67cc89035078c8841f285e (diff)
downloadtcl-07342a49f996d2bae8e35bfde42673055ff88c2a.zip
tcl-07342a49f996d2bae8e35bfde42673055ff88c2a.tar.gz
tcl-07342a49f996d2bae8e35bfde42673055ff88c2a.tar.bz2
Merge 8.7
Diffstat (limited to 'generic')
-rw-r--r--generic/tclStubInit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclStubInit.c b/generic/tclStubInit.c
index 58b29fc..da34a25 100644
--- a/generic/tclStubInit.c
+++ b/generic/tclStubInit.c
@@ -206,7 +206,7 @@ mp_err TclBN_mp_div_ld(const mp_int *a, uint64_t b, mp_int *c, uint64_t *d) {
if ((b | (mp_digit)-1) != (mp_digit)-1) {
return MP_VAL;
}
- result = mp_div_d(a, b, c, (d ? &d2 : NULL));
+ result = mp_div_d(a, (mp_digit)b, c, (d ? &d2 : NULL));
if (d) {
*d = d2;
}