uppercase L avoid confusion between lowercase l and digit 1

This commit is contained in:
Francois Perrad 2015-10-11 19:02:01 +02:00 committed by Steffen Jaeckel
parent 09b8fd9c98
commit b6636ee46a

View File

@ -31,7 +31,7 @@ unsigned long mp_get_long(mp_int * a)
/* get most significant digit of result */
res = DIGIT(a,i);
#if ULONG_MAX != 0xfffffffful || DIGIT_BIT < 32
#if ULONG_MAX != 0xffffffffuL || DIGIT_BIT < 32
while (--i >= 0) {
res = (res << DIGIT_BIT) | DIGIT(a,i);
}