uppercase L avoid confusion between lowercase l and digit 1
This commit is contained in:
parent
09b8fd9c98
commit
b6636ee46a
@ -31,7 +31,7 @@ unsigned long mp_get_long(mp_int * a)
|
|||||||
/* get most significant digit of result */
|
/* get most significant digit of result */
|
||||||
res = DIGIT(a,i);
|
res = DIGIT(a,i);
|
||||||
|
|
||||||
#if ULONG_MAX != 0xfffffffful || DIGIT_BIT < 32
|
#if ULONG_MAX != 0xffffffffuL || DIGIT_BIT < 32
|
||||||
while (--i >= 0) {
|
while (--i >= 0) {
|
||||||
res = (res << DIGIT_BIT) | DIGIT(a,i);
|
res = (res << DIGIT_BIT) | DIGIT(a,i);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user