aboutsummaryrefslogtreecommitdiff
path: root/src/model/SubaddressAccountModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/SubaddressAccountModel.cpp')
-rw-r--r--src/model/SubaddressAccountModel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/SubaddressAccountModel.cpp b/src/model/SubaddressAccountModel.cpp
index 51721b8b..e4bce411 100644
--- a/src/model/SubaddressAccountModel.cpp
+++ b/src/model/SubaddressAccountModel.cpp
@@ -53,7 +53,7 @@ int SubaddressAccountModel::rowCount(const QModelIndex &) const
QVariant SubaddressAccountModel::data(const QModelIndex &index, int role) const
{
- if (!index.isValid() || index.row() < 0 || (unsigned)index.row() >= m_subaddressAccount->count())
+ if (!index.isValid() || index.row() < 0 || static_cast<quint64>(index.row()) >= m_subaddressAccount->count())
return {};
QVariant result;