diff options
Diffstat (limited to 'ci-tests')
-rw-r--r-- | ci-tests/testlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci-tests/testlib.c b/ci-tests/testlib.c index 243104b..d06277f 100644 --- a/ci-tests/testlib.c +++ b/ci-tests/testlib.c @@ -7,7 +7,7 @@ static std::vector<std::pair<reg_t, mem_t*>> make_mems(const std::vector<mem_cfg std::vector<std::pair<reg_t, mem_t*>> mems; mems.reserve(layout.size()); for (const auto &cfg : layout) { - mems.push_back(std::make_pair(cfg.get_base(), new mem_t(cfg.size))); + mems.push_back(std::make_pair(cfg.get_base(), new mem_t(cfg.get_size()))); } return mems; } |