diff options
author | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-09-28 16:27:56 +0000 |
---|---|---|
committer | mmentovai <mmentovai@4c0a9323-5329-0410-9bdc-e9ce6186880e> | 2007-09-28 16:27:56 +0000 |
commit | f2fa084fd229b60cc3350bed66c4b7d95b10d61a (patch) | |
tree | bf00c717049da8bf4cff00c42b8cace65ef21287 /src | |
parent | Update EXTRA_DIST for packaging. (diff) | |
download | breakpad-f2fa084fd229b60cc3350bed66c4b7d95b10d61a.tar.xz |
Fix compiler warning C4245: signed/unsigned mismatch when converting between
types. Patch by Sorin Jianu. r=me,bryner
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@217 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src')
-rw-r--r-- | src/common/windows/http_upload.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/windows/http_upload.cc b/src/common/windows/http_upload.cc index 6bda3b92..d93f4cfd 100644 --- a/src/common/windows/http_upload.cc +++ b/src/common/windows/http_upload.cc @@ -137,7 +137,8 @@ bool HTTPUpload::SendRequest(const wstring &url, wstring content_type_header = GenerateRequestHeader(boundary); HttpAddRequestHeaders(request.get(), content_type_header.c_str(), - -1, HTTP_ADDREQ_FLAG_ADD); + static_cast<DWORD>(-1), + HTTP_ADDREQ_FLAG_ADD); string request_body; if (!GenerateRequestBody(parameters, upload_file, |