summaryrefslogtreecommitdiff
path: root/lib/block_allocator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/block_allocator.cpp')
-rw-r--r--lib/block_allocator.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/block_allocator.cpp b/lib/block_allocator.cpp
index c1ef827..3161653 100644
--- a/lib/block_allocator.cpp
+++ b/lib/block_allocator.cpp
@@ -62,9 +62,9 @@ void BlockActor::handle_top_alloc(const TopAllocMessage &, const Theron::Address
{
const size_t bytes = recommend_length(
this->output_allocation_hints[i],
- my_round_up_mult(AT_LEAST_BYTES, this->output_items_sizes[i]),
- this->output_configs[i].reserve_items*this->output_items_sizes[i],
- this->output_configs[i].maximum_items*this->output_items_sizes[i]
+ my_round_up_mult(AT_LEAST_BYTES, this->output_configs[i].item_size),
+ this->output_configs[i].reserve_items*this->output_configs[i].item_size,
+ this->output_configs[i].maximum_items*this->output_configs[i].item_size
);
SBufferDeleter deleter = boost::bind(&BlockActor::buffer_returner, this, i, _1);