summaryrefslogtreecommitdiffstats
path: root/generic/tclTomMathInterface.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2019-05-14 19:13:01 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2019-05-14 19:13:01 (GMT)
commitde4f571baa7f9d53f48031e230c4d8f7c69cf1f5 (patch)
tree5a70c38238478aba4893b1207c3d5fe70bb83937 /generic/tclTomMathInterface.c
parent9ca29b09ae01c2710010821b09fff5f613c7c26f (diff)
parent8094d33e4331c3f61d015b91018908fa6fb60b96 (diff)
downloadtcl-de4f571baa7f9d53f48031e230c4d8f7c69cf1f5.zip
tcl-de4f571baa7f9d53f48031e230c4d8f7c69cf1f5.tar.gz
tcl-de4f571baa7f9d53f48031e230c4d8f7c69cf1f5.tar.bz2
Merge 8.5
Diffstat (limited to 'generic/tclTomMathInterface.c')
-rw-r--r--generic/tclTomMathInterface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclTomMathInterface.c b/generic/tclTomMathInterface.c
index 902fd8d..55dadfb 100644
--- a/generic/tclTomMathInterface.c
+++ b/generic/tclTomMathInterface.c
@@ -143,7 +143,7 @@ TclBNInitBignumFromLong(
p = a->dp;
while (v) {
*p++ = (mp_digit) (v & MP_MASK);
- v >>= DIGIT_BIT;
+ v >>= MP_DIGIT_BIT;
}
a->used = p - a->dp;
}
@@ -219,7 +219,7 @@ TclBNInitBignumFromWideUInt(
p = a->dp;
while (v) {
*p++ = (mp_digit) (v & MP_MASK);
- v >>= DIGIT_BIT;
+ v >>= MP_DIGIT_BIT;
}
a->used = p - a->dp;
}