summaryrefslogtreecommitdiff
path: root/node/HttpClient.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'node/HttpClient.cpp')
-rw-r--r--node/HttpClient.cpp2
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;
}