Fix 32-bit compile error

This commit is contained in:
baldurk
2020-08-26 20:56:28 +01:00
parent 8973ac0241
commit 50089207c1
+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, AlignUp(size, (size_t)64));
return AllocateFromPages(freeBufferPages, fullBufferPages, (size_t)AlignUp(size, 64ULL));
}
byte *ChunkAllocator::AllocChunk()