summaryrefslogtreecommitdiff
path: root/node/Switch.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@zerotier.com>2013-08-26 17:22:20 -0400
committerAdam Ierymenko <adam.ierymenko@zerotier.com>2013-08-26 17:22:20 -0400
commit487eb17ec075dd2bdc91f78b41577b070d90f8f5 (patch)
tree1dccfa3836a48cf917934fe5dd01210d9d60d236 /node/Switch.cpp
parent9f16707b0b8ec62de67394bf4884408eb65f2a7a (diff)
downloadinfinitytier-487eb17ec075dd2bdc91f78b41577b070d90f8f5.tar.gz
infinitytier-487eb17ec075dd2bdc91f78b41577b070d90f8f5.zip
ZeroTierOne for Windows binary project, builds and runs and mostly works but still some issues with tap.
Diffstat (limited to 'node/Switch.cpp')
-rw-r--r--node/Switch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Switch.cpp b/node/Switch.cpp
index aed37307..9370522e 100644
--- a/node/Switch.cpp
+++ b/node/Switch.cpp
@@ -142,7 +142,7 @@ void Switch::onLocalEthernet(const SharedPtr<Network> &network,const MAC &from,c
outpTmpl.append((uint16_t)data.size());
outpTmpl.append((uint16_t)signature.length());
outpTmpl.append(data.data(),data.size());
- outpTmpl.append(signature.data(),signature.length());
+ outpTmpl.append(signature.data(),(unsigned int)signature.length());
outpTmpl.compress();
send(outpTmpl,true);
for(unsigned int i=1;i<np;++i) {