[*] MSVC compilation regression

(theres no way in fuck vista or xp will run with >= 32 threads. hell, you can barely expect the acpi and boot video drivers to work.)
This commit is contained in:
Reece Wilson 2023-08-23 19:04:48 +01:00
parent 10e95fb5ae
commit 61eaa701b7

View File

@ -226,6 +226,7 @@ namespace Aurora::Threading::Threads
}
qwExitTimeout = uMS;
return qwExitTimeout;
}
void OSThread::AddLastHopeTlsHook(const AuSPtr<AuThreads::IThreadFeature> &feature)
@ -1167,7 +1168,7 @@ namespace Aurora::Threading::Threads
{
DWORD_PTR uProcMask {};
DWORD_PTR uSysMask {};
AuUInt32 uProcmask { mask.lower };
AuUInt32 uProcmask { AuUInt32(mask.lower) };
if (::GetProcessAffinityMask(GetCurrentProcess(), &uProcMask, &uSysMask))
{