mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-27 19:00:58 +01:00
Citra_QT : Fix Conversion Warnings
This commit is contained in:
parent
71be5853e0
commit
3c802b06e9
2 changed files with 2 additions and 2 deletions
|
@ -168,7 +168,7 @@ GPUCommandListModel::GPUCommandListModel(QObject* parent) : QAbstractListModel(p
|
|||
}
|
||||
|
||||
int GPUCommandListModel::rowCount(const QModelIndex& parent) const {
|
||||
return pica_trace.writes.size();
|
||||
return static_cast<int>(pica_trace.writes.size());
|
||||
}
|
||||
|
||||
int GPUCommandListModel::columnCount(const QModelIndex& parent) const {
|
||||
|
|
|
@ -74,7 +74,7 @@ int ProfilerModel::rowCount(const QModelIndex& parent) const
|
|||
if (parent.isValid()) {
|
||||
return 0;
|
||||
} else {
|
||||
return results.time_per_category.size() + 2;
|
||||
return static_cast<int>(results.time_per_category.size() + 2);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue