diff --git a/rpcs3/Emu/Cell/PPUInterpreter.cpp b/rpcs3/Emu/Cell/PPUInterpreter.cpp index 8746904d57..7e8d2034b8 100644 --- a/rpcs3/Emu/Cell/PPUInterpreter.cpp +++ b/rpcs3/Emu/Cell/PPUInterpreter.cpp @@ -6747,7 +6747,7 @@ auto FCFID() static const auto exec = [](ppu_thread& ppu, auto&& d, auto&& b) { - f64 r = std::bit_cast(b); + f64 r = static_cast(std::bit_cast(b)); d = r; ppu_set_fpcc(ppu, r, 0.); }; diff --git a/rpcs3/Emu/Cell/lv2/sys_net.cpp b/rpcs3/Emu/Cell/lv2/sys_net.cpp index 56b58f407b..9b4428686a 100644 --- a/rpcs3/Emu/Cell/lv2/sys_net.cpp +++ b/rpcs3/Emu/Cell/lv2/sys_net.cpp @@ -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();