dev9ghzdrk: Clean up warnings on MSVC

pcap_io: cast ``pcap_io_running`` to bool.
This commit is contained in:
Akash 2016-06-29 23:35:23 +05:30
parent 264eb52d61
commit 1bcb5e0cc1
1 changed files with 1 additions and 1 deletions

View File

@ -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)