1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 20:22:30 +01:00

np: fix signed/unsigned warning

who the heck thought returning signed on a counter makes sense...
This commit is contained in:
Megamouse 2024-02-03 09:45:41 +01:00
parent a5955657c5
commit 48f82c75c1

View File

@ -1358,10 +1358,10 @@ namespace np
}
const std::string communication_id_str = std::string(basic_handler.context.data);
return std::count_if(players_history.begin(), players_history.end(), [&](const auto& entry)
return static_cast<u32>(std::count_if(players_history.begin(), players_history.end(), [&](const auto& entry)
{
return entry.second.communication_ids.contains(communication_id_str);
});
}));
}
bool np_handler::get_player_history_entry(u32 options, u32 index, SceNpId* npid)