summaryrefslogtreecommitdiff
path: root/util/cache.cc
diff options
context:
space:
mode:
authordgrogan@chromium.org <dgrogan@chromium.org@62dab493-f737-651d-591e-8d6aee1b9529>2011-08-06 00:19:37 +0000
committerdgrogan@chromium.org <dgrogan@chromium.org@62dab493-f737-651d-591e-8d6aee1b9529>2011-08-06 00:19:37 +0000
commita05525d13beea3ae56d979fa5fffa9de3652db61 (patch)
tree782f5876711aecea8c414b5281d01290c626b2ab /util/cache.cc
parent021ee9c32be65c298de20adb021ba6066e674200 (diff)
downloadleveldb-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.cc2
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;