1.1 --- a/memory/memory_preallocated.h Sun Apr 11 19:34:07 2021 +0200
1.2 +++ b/memory/memory_preallocated.h Mon Apr 12 00:12:51 2021 +0200
1.3 @@ -18,10 +18,10 @@
1.4 std::list<Region *> _regions;
1.5
1.6 Memory *_memory;
1.7 - offset_t _amount;
1.8 + length_t _amount;
1.9
1.10 public:
1.11 - explicit MemoryPreallocated(Memory *memory, offset_t amount);
1.12 + explicit MemoryPreallocated(Memory *memory, length_t amount);
1.13
1.14 explicit MemoryPreallocated();
1.15
1.16 @@ -29,7 +29,7 @@
1.17
1.18 virtual Region *region();
1.19
1.20 - virtual offset_t region_size()
1.21 + virtual length_t region_size()
1.22 { return _memory->region_size(); }
1.23
1.24 virtual void release(Region *region);