mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 22:29:21 +00:00
Resolve [-Wtautological-constant-out-of-range-compare]
This commit is contained in:
parent
efd06a85d2
commit
528f7c90e9
1 changed files with 2 additions and 1 deletions
|
@ -254,7 +254,8 @@ bool NetPlayClient::Connect()
|
||||||
// TODO: make this not hang
|
// TODO: make this not hang
|
||||||
ENetEvent netEvent;
|
ENetEvent netEvent;
|
||||||
int net;
|
int net;
|
||||||
while ((net = enet_host_service(m_client, &netEvent, 5000)) > 0 && netEvent.type == 42)
|
while ((net = enet_host_service(m_client, &netEvent, 5000)) > 0 &&
|
||||||
|
netEvent.type == ENetEventType(42)) // See PR #11381 and ENetUtil::InterceptCallback
|
||||||
{
|
{
|
||||||
// ignore packets from traversal server
|
// ignore packets from traversal server
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue