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.
This commit is contained in:
Wladimir J. van der Laan 2014-08-18 16:18:39 +02:00
parent 04d6c7d10c
commit e4731dd85c
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -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);