Bugfix: GUI: Use unsigned long long type to avoid implicit conversion of MSB check

pull/18165/head
Luke Dashjr 5 years ago
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…
Cancel
Save