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/HttpClient.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/HttpClient.cpp')
-rw-r--r-- | node/HttpClient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/node/HttpClient.cpp b/node/HttpClient.cpp index ca232437..a648d690 100644 --- a/node/HttpClient.cpp +++ b/node/HttpClient.cpp @@ -361,7 +361,7 @@ public: uc.dwHostNameLength = -1; uc.dwUrlPathLength = -1; uc.dwExtraInfoLength = -1; - if (!WinHttpCrackUrl(wurl.c_str(),wurl.length(),0,&uc)) { + if (!WinHttpCrackUrl(wurl.c_str(),(DWORD)wurl.length(),0,&uc)) { _handler(_arg,-1,_url,false,"unable to parse URL: WinHttpCrackUrl() failed"); goto closeAndReturnFromHttp; } |