mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 14:31:24 +12:00
Fix some warnings
This commit is contained in:
parent
44e4e67aa8
commit
352229efbd
2 changed files with 2 additions and 2 deletions
|
@ -6747,7 +6747,7 @@ auto FCFID()
|
||||||
|
|
||||||
static const auto exec = [](ppu_thread& ppu, auto&& d, auto&& b)
|
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;
|
d = r;
|
||||||
ppu_set_fpcc<Flags...>(ppu, r, 0.);
|
ppu_set_fpcc<Flags...>(ppu, r, 0.);
|
||||||
};
|
};
|
||||||
|
|
|
@ -1736,7 +1736,7 @@ error_code lv2_socket::abort_socket(s32 flags)
|
||||||
lv2_obj::append(ppu.get());
|
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))
|
if (num_waiters && (type == SYS_NET_SOCK_STREAM || type == SYS_NET_SOCK_DGRAM))
|
||||||
{
|
{
|
||||||
auto& nc = g_fxo->get<network_context>();
|
auto& nc = g_fxo->get<network_context>();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue