aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2020-02-21 19:09:49 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2020-02-21 19:10:04 +0000
commitcea91a1e40e12029140ebfba969ce3ef2965029c (patch)
treead8bf07c0791f2b1e832f68607285aa9f163fa2d /src
parent94c0287aec9a250f58c4c633dabaf405d82cecd2 (diff)
Bugfix: GUI: Use unsigned long long type to avoid implicit conversion of MSB check
Diffstat (limited to 'src')
-rw-r--r--src/qt/guiutil.cpp2
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));