mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-03 13:31:05 +00:00
Ensure 64-bit correctness.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@34923 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0a18267248
commit
413bc8262e
@ -217,7 +217,7 @@ Program::ExecuteAndWait(const Path& path,
|
||||
JOBOBJECT_EXTENDED_LIMIT_INFORMATION jeli;
|
||||
memset(&jeli, 0, sizeof(jeli));
|
||||
jeli.BasicLimitInformation.LimitFlags = JOB_OBJECT_LIMIT_PROCESS_MEMORY;
|
||||
jeli.ProcessMemoryLimit = memoryLimit * 1048576;
|
||||
jeli.ProcessMemoryLimit = uintptr_t(memoryLimit) * 1048576;
|
||||
if (SetInformationJobObject(hJob, JobObjectExtendedLimitInformation,
|
||||
&jeli, sizeof(jeli))) {
|
||||
if (AssignProcessToJobObject(hJob, pi.hProcess))
|
||||
|
Loading…
Reference in New Issue
Block a user