21 Oct
2025
21 Oct
'25
9:38 a.m.
The functions take a WAIT_TYPE argument instead of a BOOLEAN. This causes test failures in kernel32:sync when compiled with clang and optimizations enabled, as it optimizes away clearing the higher bytes of the register used for the WAIT_TYPE argument, leaving set bits in the higher bytes ending up with an invalid WAIT_TYPE value. -- v2: ntdll: Fix (Nt|Zw)WaitForMultipleObjects signature. https://gitlab.winehq.org/wine/wine/-/merge_requests/9240