summaryrefslogtreecommitdiff
path: root/node/Network.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@zerotier.com>2015-04-24 15:05:28 -0700
committerAdam Ierymenko <adam.ierymenko@zerotier.com>2015-04-24 15:05:28 -0700
commitf5848972f992e20093da85e91761c327e2f3d3ce (patch)
treed491a4d7fcb425b5c4a639af925a895d27e8dfd4 /node/Network.cpp
parent54954f5b8886bd6ea49e043fa5a695fcd7608c68 (diff)
downloadinfinitytier-f5848972f992e20093da85e91761c327e2f3d3ce.tar.gz
infinitytier-f5848972f992e20093da85e91761c327e2f3d3ce.zip
Windows now builds and runs selftest correctly, and fixed a Windows (and possibly other platforms) issue in Phy<>.
Diffstat (limited to 'node/Network.cpp')
-rw-r--r--node/Network.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Network.cpp b/node/Network.cpp
index 08856f02..ddfb01c7 100644
--- a/node/Network.cpp
+++ b/node/Network.cpp
@@ -437,7 +437,7 @@ void Network::learnBridgeRoute(const MAC &mac,const Address &addr)
void Network::learnBridgedMulticastGroup(const MulticastGroup &mg,uint64_t now)
{
Mutex::Lock _l(_lock);
- unsigned long tmp = _multicastGroupsBehindMe.size();
+ unsigned long tmp = (unsigned long)_multicastGroupsBehindMe.size();
_multicastGroupsBehindMe[mg] = now;
if (tmp != _multicastGroupsBehindMe.size())
_announceMulticastGroups();