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/Node.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node/Node.cpp') diff --git a/node/Node.cpp b/node/Node.cpp index 9bfa7ad6..d195b9f1 100644 --- a/node/Node.cpp +++ b/node/Node.cpp @@ -134,7 +134,7 @@ Node::LocalClient::LocalClient(const char *authToken,unsigned int controlPort,vo if (sock) { { unsigned int csk[64]; - SHA512::hash(csk,authToken,strlen(authToken)); + SHA512::hash(csk,authToken,(unsigned int)strlen(authToken)); memcpy(impl->key,csk,32); } -- cgit v1.2.3