Qt: Fix another compiler warning

pull/3562/head
Stenzek 2 months ago
parent 0aa8374f73
commit 26c4eec874
No known key found for this signature in database

@ -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<int>(i);
break;
}
}

Loading…
Cancel
Save