mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 16:46:16 +00:00
fix warning
This commit is contained in:
@@ -357,8 +357,8 @@ void process_context::setup(x86_64_emulator& emu, memory_manager& memory, regist
|
|||||||
// Copy similar settings from PEB64
|
// Copy similar settings from PEB64
|
||||||
p32.ProcessHeap = 0;
|
p32.ProcessHeap = 0;
|
||||||
p32.ProcessHeaps = 0;
|
p32.ProcessHeaps = 0;
|
||||||
p32.HeapSegmentReserve = executable.size_of_heap_reserve;
|
p32.HeapSegmentReserve = static_cast<uint32_t>(executable.size_of_heap_reserve);
|
||||||
p32.HeapSegmentCommit = executable.size_of_heap_commit;
|
p32.HeapSegmentCommit = static_cast<uint32_t>(executable.size_of_heap_commit);
|
||||||
p32.HeapDeCommitTotalFreeThreshold = 0x00010000;
|
p32.HeapDeCommitTotalFreeThreshold = 0x00010000;
|
||||||
p32.HeapDeCommitFreeBlockThreshold = 0x00001000;
|
p32.HeapDeCommitFreeBlockThreshold = 0x00001000;
|
||||||
p32.NumberOfHeaps = 0;
|
p32.NumberOfHeaps = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user