summaryrefslogtreecommitdiff
path: root/util/cache.cc
diff options
context:
space:
mode:
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;