all repos — mgba @ faa27b075484f97bc6a233f7476be06565efe2b9

mGBA Game Boy Advance Emulator

Qt: Fix some sign warnings
Vicki Pfau vi@endrift.com
Sat, 05 Dec 2020 20:11:02 -0800
commit

faa27b075484f97bc6a233f7476be06565efe2b9

parent

ec97747a94171a322384dcd7858aeb1bf44ed767

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M src/platform/qt/BattleChipModel.cppsrc/platform/qt/BattleChipModel.cpp

@@ -51,7 +51,7 @@ if (parent.isValid()) {

return false; } beginRemoveRows(QModelIndex(), row, row + count - 1); - for (size_t i = 0; i < count; ++i) { + for (int i = 0; i < count; ++i) { m_deck.removeAt(row); } endRemoveRows();
M src/platform/qt/InputController.hsrc/platform/qt/InputController.h

@@ -153,7 +153,7 @@ QImage image;

QImage resizedImage; bool outOfDate; QMutex mutex; - unsigned w, h; + int w, h; } m_image; #ifdef BUILD_QT_MULTIMEDIA