We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61ac3b9 commit e389d29Copy full SHA for e389d29
src/util/mp_arith.cpp
@@ -302,8 +302,8 @@ mp_integer logic_left_shift(
302
llong_t result=a.to_long()<<shift;
303
if(true_size<(sizeof(llong_t)*8))
304
{
305
- llong_t sign=(1L<<(true_size-1))&result;
306
- llong_t mask=(1L<<true_size)-1;
+ llong_t sign=(1LL<<(true_size-1))&result;
+ llong_t mask=(1LL<<true_size)-1;
307
// Sign-fill out-of-range bits:
308
if(sign==0)
309
result&=mask;
0 commit comments