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:
parent
44e4e67aa8
commit
352229efbd
@ -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.);
|
||||
};
|
||||
|
@ -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>();
|
||||
|
Loading…
Reference in New Issue
Block a user