Windows: Fix 64-bit build warning C4267 (issue #2335)

This commit is contained in:
Marshall Greenblatt 2017-12-27 15:49:52 -05:00
parent dba68c026c
commit 4d4fcde2fa
1 changed files with 4 additions and 2 deletions

View File

@ -540,8 +540,10 @@ class HttpTestRunner : public base::RefCountedThreadSafe<HttpTestRunner> {
handler_->AddHttpRequestHandler(it->second->CreateHttpRequestHandler());
}
handler_->SetExpectedConnectionCount(request_runner_map_.size());
handler_->SetExpectedHttpRequestCount(request_runner_map_.size());
handler_->SetExpectedConnectionCount(
static_cast<int>(request_runner_map_.size()));
handler_->SetExpectedHttpRequestCount(
static_cast<int>(request_runner_map_.size()));
handler_->CreateServer();