diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2020-02-21 19:09:49 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2020-02-21 19:10:04 +0000 |
commit | cea91a1e40e12029140ebfba969ce3ef2965029c (patch) | |
tree | ad8bf07c0791f2b1e832f68607285aa9f163fa2d | |
parent | 94c0287aec9a250f58c4c633dabaf405d82cecd2 (diff) | |
download | bitcoin-cea91a1e40e12029140ebfba969ce3ef2965029c.tar.xz |
Bugfix: GUI: Use unsigned long long type to avoid implicit conversion of MSB check
-rw-r--r-- | src/qt/guiutil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/guiutil.cpp b/src/qt/guiutil.cpp index 911322092c..c6ff0ad91d 100644 --- a/src/qt/guiutil.cpp +++ b/src/qt/guiutil.cpp @@ -760,7 +760,7 @@ QString formatServicesStr(quint64 mask) QStringList strList; for (int i = 0; i < 64; i++) { - uint64_t check = 1LL << i; + uint64_t check = 1ull << i; if (mask & check) { strList.append(serviceFlagToStr(check, i)); |