diff --git a/src/platform/qt/BattleChipModel.cpp b/src/platform/qt/BattleChipModel.cpp index 1e6452e66..2acbd9b7f 100644 --- a/src/platform/qt/BattleChipModel.cpp +++ b/src/platform/qt/BattleChipModel.cpp @@ -51,7 +51,7 @@ bool BattleChipModel::removeRows(int row, int count, const QModelIndex& parent) 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(); diff --git a/src/platform/qt/InputController.h b/src/platform/qt/InputController.h index 6d013af88..50729952b 100644 --- a/src/platform/qt/InputController.h +++ b/src/platform/qt/InputController.h @@ -153,7 +153,7 @@ private: QImage resizedImage; bool outOfDate; QMutex mutex; - unsigned w, h; + int w, h; } m_image; #ifdef BUILD_QT_MULTIMEDIA