mirror of https://github.com/PCSX2/pcsx2.git
dev9ghzdrk: Clean up warnings on MSVC
pcap_io: cast ``pcap_io_running`` to bool.
This commit is contained in:
parent
264eb52d61
commit
1bcb5e0cc1
|
@ -435,7 +435,7 @@ bool PCAPAdapter::blocks()
|
|||
}
|
||||
bool PCAPAdapter::isInitialised()
|
||||
{
|
||||
return pcap_io_running;
|
||||
return !!pcap_io_running;
|
||||
}
|
||||
//gets a packet.rv :true success
|
||||
bool PCAPAdapter::recv(NetPacket* pkt)
|
||||
|
|
Loading…
Reference in New Issue