summaryrefslogtreecommitdiffstats
path: root/generic/tclTomMathInterface.c
diff options
context:
space:
mode:
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;
}