fix compiler warning when compiling with "-mx32" option
This commit is contained in:
parent
940bef18cd
commit
5a2a00ffba
@ -30,10 +30,12 @@ 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
|
||||
while (--i >= 0) {
|
||||
res = (res << DIGIT_BIT) | DIGIT(a,i);
|
||||
}
|
||||
#endif
|
||||
return res;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user