net: define NodeId as an int64_t

This should make occurances of NodeId wrapping essentially impossible for
real-world usage.
This commit is contained in:
Cory Fields
2017-04-10 15:00:23 -04:00
parent 471ed00fcd
commit c851be4b25
3 changed files with 4 additions and 4 deletions

View File

@@ -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: