diff --git a/Source/Threading/Threads/AuOSThread.cpp b/Source/Threading/Threads/AuOSThread.cpp index 0ab3bbdd..5674eb00 100644 --- a/Source/Threading/Threads/AuOSThread.cpp +++ b/Source/Threading/Threads/AuOSThread.cpp @@ -226,6 +226,7 @@ namespace Aurora::Threading::Threads } qwExitTimeout = uMS; + return qwExitTimeout; } void OSThread::AddLastHopeTlsHook(const AuSPtr &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)) {