diff options
| author | 2015-06-27 19:27:49 -0700 | |
|---|---|---|
| committer | 2015-07-19 03:59:44 -0700 | |
| commit | 3c802b06e9899685b744470c37ff48414f63c34f (patch) | |
| tree | 3d6d49c635e4a5498609302139473f8e86e0e581 | |
| parent | Merge pull request #941 from citra-emu/armv6-thumb-mov (diff) | |
| download | yuzu-3c802b06e9899685b744470c37ff48414f63c34f.tar.gz yuzu-3c802b06e9899685b744470c37ff48414f63c34f.tar.xz yuzu-3c802b06e9899685b744470c37ff48414f63c34f.zip | |
Citra_QT : Fix Conversion Warnings
Diffstat (limited to '')
| -rw-r--r-- | src/citra_qt/debugger/graphics_cmdlists.cpp | 2 | ||||
| -rw-r--r-- | src/citra_qt/debugger/profiler.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/citra_qt/debugger/graphics_cmdlists.cpp b/src/citra_qt/debugger/graphics_cmdlists.cpp index cabf5fe07..e15ed7dea 100644 --- a/src/citra_qt/debugger/graphics_cmdlists.cpp +++ b/src/citra_qt/debugger/graphics_cmdlists.cpp | |||
| @@ -168,7 +168,7 @@ GPUCommandListModel::GPUCommandListModel(QObject* parent) : QAbstractListModel(p | |||
| 168 | } | 168 | } |
| 169 | 169 | ||
| 170 | int GPUCommandListModel::rowCount(const QModelIndex& parent) const { | 170 | int GPUCommandListModel::rowCount(const QModelIndex& parent) const { |
| 171 | return pica_trace.writes.size(); | 171 | return static_cast<int>(pica_trace.writes.size()); |
| 172 | } | 172 | } |
| 173 | 173 | ||
| 174 | int GPUCommandListModel::columnCount(const QModelIndex& parent) const { | 174 | int GPUCommandListModel::columnCount(const QModelIndex& parent) const { |
diff --git a/src/citra_qt/debugger/profiler.cpp b/src/citra_qt/debugger/profiler.cpp index 2ac1748b7..89b28c2f4 100644 --- a/src/citra_qt/debugger/profiler.cpp +++ b/src/citra_qt/debugger/profiler.cpp | |||
| @@ -74,7 +74,7 @@ int ProfilerModel::rowCount(const QModelIndex& parent) const | |||
| 74 | if (parent.isValid()) { | 74 | if (parent.isValid()) { |
| 75 | return 0; | 75 | return 0; |
| 76 | } else { | 76 | } else { |
| 77 | return results.time_per_category.size() + 2; | 77 | return static_cast<int>(results.time_per_category.size() + 2); |
| 78 | } | 78 | } |
| 79 | } | 79 | } |
| 80 | 80 | ||