From 26c4eec87491cf0e099d56feec2643afc8b781a5 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sat, 6 Sep 2025 13:11:24 +1000 Subject: [PATCH] Qt: Fix another compiler warning --- src/duckstation-qt/gamelistwidget.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/duckstation-qt/gamelistwidget.cpp b/src/duckstation-qt/gamelistwidget.cpp index 3fdf21fcf..aaadd0ed7 100644 --- a/src/duckstation-qt/gamelistwidget.cpp +++ b/src/duckstation-qt/gamelistwidget.cpp @@ -409,12 +409,12 @@ void GameListModel::invalidateCoverForPath(const std::string& path) { // This isn't ideal, but not sure how else we can get the row, when it might change while scanning... auto lock = GameList::GetLock(); - const u32 count = GameList::GetEntryCount(); - for (u32 i = 0; i < count; i++) + const size_t count = GameList::GetEntryCount(); + for (size_t i = 0; i < count; i++) { if (GameList::GetEntryByIndex(i)->path == path) { - row = i; + row = static_cast(i); break; } }