summaryrefslogtreecommitdiff
path: root/gui/worker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gui/worker.cc')
-rw-r--r--gui/worker.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/worker.cc b/gui/worker.cc
index 93ccbea..f490fb4 100644
--- a/gui/worker.cc
+++ b/gui/worker.cc
@@ -48,7 +48,7 @@ void Worker::configure(
for (i = ways.size(); i > 0; --i) {
s = static_cast<Storage *>(new Cache(
- s, cache_size_mapper(ways.size() - 1, i), ways.at(i - 1),
+ s, cache_size_mapper(ways.size() - 1, i - 1), ways.at(i - 1),
CACHE_DELAY + i));
this->s.push_front(s);
}