summaryrefslogtreecommitdiffstats
path: root/libtommath/bn_mp_get_long_long.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtommath/bn_mp_get_long_long.c')
-rw-r--r--libtommath/bn_mp_get_long_long.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtommath/bn_mp_get_long_long.c b/libtommath/bn_mp_get_long_long.c
index a363f60..df2aa77 100644
--- a/libtommath/bn_mp_get_long_long.c
+++ b/libtommath/bn_mp_get_long_long.c
@@ -26,7 +26,7 @@ Tcl_WideUInt mp_get_long_long(const mp_int *a)
}
/* get number of digits of the lsb we have to read */
- i = MIN(a->used, (int)(((sizeof(Tcl_WideUInt) * CHAR_BIT) + DIGIT_BIT - 1) / DIGIT_BIT)) - 1;
+ i = MIN(a->used, ((((int)sizeof(Tcl_WideUInt) * CHAR_BIT) + DIGIT_BIT - 1) / DIGIT_BIT)) - 1;
/* get most significant digit of result */
res = DIGIT(a, i);