From 370dd6c4da6acff85947cef365e4df48c00d0863 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 21 Jan 2014 13:07:22 -0800 Subject: 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. --- node/NodeConfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node/NodeConfig.cpp') 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); } -- cgit v1.2.3