1.1 --- a/memory/memory_preallocated.cc Sun Apr 11 19:34:07 2021 +0200
1.2 +++ b/memory/memory_preallocated.cc Mon Apr 12 00:12:51 2021 +0200
1.3 @@ -4,12 +4,12 @@
1.4
1.5 /* Initialise the memory pool with the given amount in bytes. */
1.6
1.7 -MemoryPreallocated::MemoryPreallocated(Memory *memory, offset_t amount)
1.8 +MemoryPreallocated::MemoryPreallocated(Memory *memory, length_t amount)
1.9 : _memory(memory), _amount(amount)
1.10 {
1.11 // NOTE: Handle allocation failure.
1.12
1.13 - offset_t remaining = amount;
1.14 + length_t remaining = amount;
1.15
1.16 while (remaining)
1.17 {