Fix a bug of Windows binary
This commit is contained in:
parent
12c1156f31
commit
ccb58e2cab
|
@ -124,7 +124,7 @@ size_t bigint<n>::num_bits() const
|
|||
}
|
||||
else
|
||||
{
|
||||
return ((i+1) * GMP_NUMB_BITS) - __builtin_clzl(x);
|
||||
return ((i+1) * GMP_NUMB_BITS) - __builtin_clzll(x);
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue