mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-08-20 13:24:09 -07:00
Add miniupnpc builds for Windows, fix some Windows build warnings.
This commit is contained in:
parent
3c54187c40
commit
14264c2d6f
7 changed files with 109 additions and 18 deletions
|
@ -781,7 +781,7 @@ public:
|
|||
// Causes entry to be deleted from list in poll(), ignored elsewhere
|
||||
sws.type = ZT_PHY_SOCKET_CLOSED;
|
||||
|
||||
if (sws.sock >= _nfds) {
|
||||
if ((long)sws.sock >= (long)_nfds) {
|
||||
long nfds = (long)_whackSendSocket;
|
||||
if ((long)_whackReceiveSocket > nfds)
|
||||
nfds = (long)_whackReceiveSocket;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue