mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 21:41:26 +12:00
np: fix signed/unsigned warning
who the heck thought returning signed on a counter makes sense...
This commit is contained in:
parent
a5955657c5
commit
48f82c75c1
1 changed files with 2 additions and 2 deletions
|
@ -1358,10 +1358,10 @@ namespace np
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::string communication_id_str = std::string(basic_handler.context.data);
|
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);
|
return entry.second.communication_ids.contains(communication_id_str);
|
||||||
});
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
bool np_handler::get_player_history_entry(u32 options, u32 index, SceNpId* npid)
|
bool np_handler::get_player_history_entry(u32 options, u32 index, SceNpId* npid)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue