mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-29 13:32:33 +02:00
Bugfix: GUI: Use unsigned long long type to avoid implicit conversion of MSB check
This commit is contained in:
parent
94c0287aec
commit
cea91a1e40
@ -760,7 +760,7 @@ QString formatServicesStr(quint64 mask)
|
|||||||
QStringList strList;
|
QStringList strList;
|
||||||
|
|
||||||
for (int i = 0; i < 64; i++) {
|
for (int i = 0; i < 64; i++) {
|
||||||
uint64_t check = 1LL << i;
|
uint64_t check = 1ull << i;
|
||||||
if (mask & check)
|
if (mask & check)
|
||||||
{
|
{
|
||||||
strList.append(serviceFlagToStr(check, i));
|
strList.append(serviceFlagToStr(check, i));
|
||||||
|
Loading…
Reference in New Issue
Block a user