diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-28 01:43:48 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-28 01:43:48 +0000 |
commit | 54d1f00585e862a8de590a2f9f2c80b14296a003 (patch) | |
tree | 27b7b092c8bafbd81865c8a6a629bebc37845ff4 /net | |
parent | dc8b936deddb16343b09df857bbdd75f11f9408d (diff) | |
download | chromium_src-54d1f00585e862a8de590a2f9f2c80b14296a003.zip chromium_src-54d1f00585e862a8de590a2f9f2c80b14296a003.tar.gz chromium_src-54d1f00585e862a8de590a2f9f2c80b14296a003.tar.bz2 |
Disk cache: Fix a signed / unsigned comparison on cl 17052
TBR=nsylvain
Review URL: http://codereview.chromium.org/115848
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@17053 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/disk_cache/backend_impl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc index 5c64d01..f22f741 100644 --- a/net/disk_cache/backend_impl.cc +++ b/net/disk_cache/backend_impl.cc @@ -789,7 +789,7 @@ void BackendImpl::CriticalError(int error) { ReportError(error); // Reset the mask_ if it was not given by the user. - if (mask_ == data_->header.table_len - 1) + if (static_cast<int>(mask_) == data_->header.table_len - 1) mask_ = 0; // Setting the index table length to an invalid value will force re-creation @@ -988,7 +988,7 @@ void BackendImpl::RestartCache() { void BackendImpl::PrepareForRestart() { // Reset the mask_ if it was not given by the user. - if (mask_ == data_->header.table_len - 1) + if (static_cast<int>(mask_) == data_->header.table_len - 1) mask_ = 0; data_->header.crash = 0; |