From f2fa084fd229b60cc3350bed66c4b7d95b10d61a Mon Sep 17 00:00:00 2001 From: mmentovai Date: Fri, 28 Sep 2007 16:27:56 +0000 Subject: 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 --- src/common/windows/http_upload.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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(-1), + HTTP_ADDREQ_FLAG_ADD); string request_body; if (!GenerateRequestBody(parameters, upload_file, -- cgit v1.2.1