Skip to content

Commit

Permalink
qt: Use quint64 for formatServicesStr
Browse files Browse the repository at this point in the history
`uint64_t` was causing a build error on some systems, as that type is
not known after including just the Qt headers.
  • Loading branch information
laanwj committed Aug 18, 2014
1 parent 04d6c7d commit e4731dd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/qt/guiutil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,7 @@ QString formatDurationStr(int secs)
return strList.join(" ");
}

QString formatServicesStr(uint64_t mask)
QString formatServicesStr(quint64 mask)
{
QStringList strList;

Expand Down
2 changes: 1 addition & 1 deletion src/qt/guiutil.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e4731dd

Please sign in to comment.