diff options
| author | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2014-01-21 13:07:22 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@zerotier.com> | 2014-01-21 13:07:22 -0800 |
| commit | 370dd6c4da6acff85947cef365e4df48c00d0863 (patch) | |
| tree | 96dd0db7a3fcecb6354276ed23c6274c5b7804d7 /node/NodeConfig.cpp | |
| parent | 06ca24e8e2b663842fee7daabac4a2652da5a834 (diff) | |
| download | infinitytier-370dd6c4da6acff85947cef365e4df48c00d0863.tar.gz infinitytier-370dd6c4da6acff85947cef365e4df48c00d0863.zip | |
Several things:
(1) Add a bunch of tedious type casts to eliminate unnecessary compiler warnings on Windows X64 builds.
(2) Some EthernetTap work to integrate Windows custom IOCTL for multicast group lookup (not done quite yet).
(3) Dump some more info in selftest to make sure our Windows path lookup functions are returning sane results.
Diffstat (limited to 'node/NodeConfig.cpp')
| -rw-r--r-- | node/NodeConfig.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/NodeConfig.cpp b/node/NodeConfig.cpp index 374e9916..eb0802a4 100644 --- a/node/NodeConfig.cpp +++ b/node/NodeConfig.cpp @@ -66,7 +66,7 @@ NodeConfig::NodeConfig(const RuntimeEnvironment *renv,const char *authToken,unsi { { unsigned int csk[64]; - SHA512::hash(csk,authToken,strlen(authToken)); + SHA512::hash(csk,authToken,(unsigned int)strlen(authToken)); memcpy(_controlSocketKey,csk,32); } |
