Skip to content

Commit cea91a1

Browse files
committed
Bugfix: GUI: Use unsigned long long type to avoid implicit conversion of MSB check
1 parent 94c0287 commit cea91a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/qt/guiutil.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ QString formatServicesStr(quint64 mask)
760760
QStringList strList;
761761

762762
for (int i = 0; i < 64; i++) {
763-
uint64_t check = 1LL << i;
763+
uint64_t check = 1ull << i;
764764
if (mask & check)
765765
{
766766
strList.append(serviceFlagToStr(check, i));

0 commit comments

Comments
 (0)