mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-26 04:30:06 +00:00
core: fix shared_memory.cpp warning on MSVC
This commit is contained in:
parent
7ea0c321af
commit
b25fae929b
@ -35,7 +35,7 @@ SharedPtr<SharedMemory> SharedMemory::Create(SharedPtr<Process> owner_process, u
|
||||
"Not enough space in region to allocate shared memory!");
|
||||
|
||||
shared_memory->backing_block = linheap_memory;
|
||||
shared_memory->backing_block_offset = linheap_memory->size();
|
||||
shared_memory->backing_block_offset = static_cast<u32>(linheap_memory->size());
|
||||
// Allocate some memory from the end of the linear heap for this region.
|
||||
linheap_memory->insert(linheap_memory->end(), size, 0);
|
||||
memory_region->used += size;
|
||||
|
Loading…
Reference in New Issue
Block a user