Skip to content

Commit b9de7c0

Browse files
committed
cast
1 parent e7f34c6 commit b9de7c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bn_mp_ilogb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ static mp_digit s_digit_ilogb(mp_digit base, mp_digit n)
4242

4343
while (((mp_digit)(high - low)) > 1uL) {
4444
mid = (low + high) >> 1;
45-
bracket_mid = bracket_low * s_pow(base, mid - low) ;
45+
bracket_mid = bracket_low * s_pow(base, (mp_word)(mid - low));
4646

4747
if (N < bracket_mid) {
4848
high = mid ;

0 commit comments

Comments
 (0)