diff options
author | dgrogan@chromium.org <dgrogan@chromium.org@62dab493-f737-651d-591e-8d6aee1b9529> | 2011-08-06 00:19:37 +0000 |
---|---|---|
committer | dgrogan@chromium.org <dgrogan@chromium.org@62dab493-f737-651d-591e-8d6aee1b9529> | 2011-08-06 00:19:37 +0000 |
commit | a05525d13beea3ae56d979fa5fffa9de3652db61 (patch) | |
tree | 782f5876711aecea8c414b5281d01290c626b2ab /util/cache.cc | |
parent | 021ee9c32be65c298de20adb021ba6066e674200 (diff) | |
download | leveldb-a05525d13beea3ae56d979fa5fffa9de3652db61.tar.gz |
@23023120
git-svn-id: https://leveldb.googlecode.com/svn/trunk@47 62dab493-f737-651d-591e-8d6aee1b9529
Diffstat (limited to 'util/cache.cc')
-rw-r--r-- | util/cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/cache.cc b/util/cache.cc index 5829b79..5cff3dd 100644 --- a/util/cache.cc +++ b/util/cache.cc @@ -112,7 +112,7 @@ class HandleTable { LRUHandle** new_list = new LRUHandle*[new_length]; memset(new_list, 0, sizeof(new_list[0]) * new_length); uint32_t count = 0; - for (int i = 0; i < length_; i++) { + for (uint32_t i = 0; i < length_; i++) { LRUHandle* h = list_[i]; while (h != NULL) { LRUHandle* next = h->next_hash; |