Add miniupnpc builds for Windows, fix some Windows build warnings.

This commit is contained in:
Adam Ierymenko 2015-07-28 16:50:18 -07:00
commit 14264c2d6f
7 changed files with 109 additions and 18 deletions

View file

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