Windows build warning removal, be more defensive in Windows tap driver code, and clean up service start/stop in installer.
This commit is contained in:
parent
68cb7ad4cd
commit
c7eb5f0c81
3 changed files with 13 additions and 13 deletions
|
@ -523,7 +523,7 @@ public:
|
|||
{
|
||||
TcpConnection *tc = reinterpret_cast<TcpConnection *>(*uptr);
|
||||
if (tc->writeBuf.length()) {
|
||||
long sent = _phy.tcpSend(sock,tc->writeBuf.data(),tc->writeBuf.length(),true);
|
||||
long sent = (long)_phy.tcpSend(sock,tc->writeBuf.data(),(unsigned long)tc->writeBuf.length(),true);
|
||||
if (sent > 0) {
|
||||
tc->lastActivity = OSUtils::now();
|
||||
if ((unsigned long)sent == (unsigned long)tc->writeBuf.length()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue