Fix linux compilation

This commit is contained in:
baldurk
2020-08-27 00:02:17 +01:00
parent 50089207c1
commit ecbfeb7dc1
+1 -1
View File
@@ -1002,7 +1002,7 @@ Chunk::Chunk(Serialiser<SerialiserMode::Writing> &ser, uint16_t chunkType, Chunk
byte *ChunkAllocator::AllocAlignedBuffer(uint64_t size)
{
// always allocate 64-bytes at a time even if the size is smaller
return AllocateFromPages(freeBufferPages, fullBufferPages, (size_t)AlignUp(size, 64ULL));
return AllocateFromPages(freeBufferPages, fullBufferPages, AlignUp((size_t)size, (size_t)64));
}
byte *ChunkAllocator::AllocChunk()