summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-06 10:36:55 +0000
committerpfeldman@chromium.org <pfeldman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-06 10:36:55 +0000
commitbb9fca7ffc3daa689e47f036e292b8e800f96fdf (patch)
tree9f61a3a090087f90b36754316067d591d23c1442
parenta9bf679843d02a5655cccb53655d8561b140709a (diff)
downloadchromium_src-bb9fca7ffc3daa689e47f036e292b8e800f96fdf.zip
chromium_src-bb9fca7ffc3daa689e47f036e292b8e800f96fdf.tar.gz
chromium_src-bb9fca7ffc3daa689e47f036e292b8e800f96fdf.tar.bz2
DevTools: follow up to r51661 (64bit build fix).
Review URL: http://codereview.chromium.org/2808047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51662 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/debugger/devtools_http_protocol_handler.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/debugger/devtools_http_protocol_handler.cc b/chrome/browser/debugger/devtools_http_protocol_handler.cc
index 8d8718c..2f24e07 100644
--- a/chrome/browser/debugger/devtools_http_protocol_handler.cc
+++ b/chrome/browser/debugger/devtools_http_protocol_handler.cc
@@ -165,7 +165,7 @@ void DevToolsHttpProtocolHandler::OnResponseStarted(URLRequest* request) {
HttpListenSocket* socket = it->second;
- int64 expected_size = request->GetExpectedContentSize();
+ int expected_size = static_cast<int>(request->GetExpectedContentSize());
std::string content_type;
request->GetMimeType(&content_type);
@@ -173,7 +173,7 @@ void DevToolsHttpProtocolHandler::OnResponseStarted(URLRequest* request) {
if (request->status().is_success()) {
socket->Send(StringPrintf("HTTP/1.1 200 OK\r\n"
"Content-Type:%s\r\n"
- "Content-Length:%lld\r\n"
+ "Content-Length:%d\r\n"
"\r\n",
content_type.c_str(),
expected_size));