Browse Source

qt: Use quint64 for formatServicesStr

`uint64_t` was causing a build error on some systems, as that type is
not known after including just the Qt headers.
0.10
Wladimir J. van der Laan 11 years ago
parent
commit
e4731dd85c
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/qt/guiutil.cpp
  2. 2
      src/qt/guiutil.h

2
src/qt/guiutil.cpp

@ -810,7 +810,7 @@ QString formatDurationStr(int secs) @@ -810,7 +810,7 @@ QString formatDurationStr(int secs)
return strList.join(" ");
}
QString formatServicesStr(uint64_t mask)
QString formatServicesStr(quint64 mask)
{
QStringList strList;

2
src/qt/guiutil.h

@ -180,7 +180,7 @@ namespace GUIUtil @@ -180,7 +180,7 @@ namespace GUIUtil
QString formatDurationStr(int secs);
/* Format CNodeStats.nServices bitmask into a user-readable string */
QString formatServicesStr(uint64_t mask);
QString formatServicesStr(quint64 mask);
/* Format a CNodeCombinedStats.dPingTime into a user-readable string or display N/A, if 0*/
QString formatPingTime(double dPingTime);

Loading…
Cancel
Save