aboutsummaryrefslogtreecommitdiff
path: root/src/qt/peertablemodel.cpp
diff options
context:
space:
mode:
authorCory Fields <[email protected]>2017-04-10 15:00:23 -0400
committerWladimir J. van der Laan <[email protected]>2017-04-14 10:35:49 +0200
commit30fa231011a63404a087420a9de7271af077affa (patch)
treec719ebdc883edf98ae982994b76104432e38e64e /src/qt/peertablemodel.cpp
parent[rpc] rename disconnectnode argument (diff)
downloaddiscoin-30fa231011a63404a087420a9de7271af077affa.tar.xz
discoin-30fa231011a63404a087420a9de7271af077affa.zip
net: define NodeId as an int64_t
This should make occurances of NodeId wrapping essentially impossible for real-world usage. Github-Pull: #10176 Rebased-From: c851be4b25905977ca471c42435dc590fd2ff2f5
Diffstat (limited to 'src/qt/peertablemodel.cpp')
-rw-r--r--src/qt/peertablemodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/peertablemodel.cpp b/src/qt/peertablemodel.cpp
index 974a71ddc..fff072fd4 100644
--- a/src/qt/peertablemodel.cpp
+++ b/src/qt/peertablemodel.cpp
@@ -166,7 +166,7 @@ QVariant PeerTableModel::data(const QModelIndex &index, int role) const
switch(index.column())
{
case NetNodeId:
- return rec->nodeStats.nodeid;
+ return (qint64)rec->nodeStats.nodeid;
case Address:
return QString::fromStdString(rec->nodeStats.addrName);
case Subversion: