Index: chrome/browser/safe_browsing/client_side_detection_host.cc |
diff --git a/chrome/browser/safe_browsing/client_side_detection_host.cc b/chrome/browser/safe_browsing/client_side_detection_host.cc |
index ad77670bb51577e35a07f91876f5db9cf902cd81..7491d495cbc9cc8ea9c4d13260d604ba2e1adb29 100644 |
--- a/chrome/browser/safe_browsing/client_side_detection_host.cc |
+++ b/chrome/browser/safe_browsing/client_side_detection_host.cc |
@@ -688,12 +688,12 @@ void ClientSideDetectionHost::UpdateIPUrlMap( |
IPUrlMap::iterator it = browse_info_->ips.find(ip); |
if (it == browse_info_->ips.end()) { |
- if (int(browse_info_->ips.size()) < kMaxIPsPerBrowse) { |
+ if (static_cast<int>(browse_info_->ips.size()) < kMaxIPsPerBrowse) { |
std::vector<IPUrlInfo> url_infos; |
url_infos.push_back(IPUrlInfo(url, method, referrer, resource_type)); |
browse_info_->ips.insert(make_pair(ip, url_infos)); |
} |
- } else if (int(it->second.size()) < kMaxUrlsPerIP) { |
+ } else if (static_cast<int>(it->second.size()) < kMaxUrlsPerIP) { |
it->second.push_back(IPUrlInfo(url, method, referrer, resource_type)); |
} |
} |