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

Fix some warnings

This commit is contained in:
Megamouse 2024-06-30 10:35:36 +02:00
parent 44e4e67aa8
commit 352229efbd
2 changed files with 2 additions and 2 deletions

View File

@ -6747,7 +6747,7 @@ auto FCFID()
static const auto exec = [](ppu_thread& ppu, auto&& d, auto&& b)
{
f64 r = std::bit_cast<s64>(b);
f64 r = static_cast<f64>(std::bit_cast<s64>(b));
d = r;
ppu_set_fpcc<Flags...>(ppu, r, 0.);
};

View File

@ -1736,7 +1736,7 @@ error_code lv2_socket::abort_socket(s32 flags)
lv2_obj::append(ppu.get());
}
const u32 num_waiters = qcopy.size();
const u32 num_waiters = ::size32(qcopy);
if (num_waiters && (type == SYS_NET_SOCK_STREAM || type == SYS_NET_SOCK_DGRAM))
{
auto& nc = g_fxo->get<network_context>();