e6a6ae70
by Rémi Bernon at 2025-10-22T00:04:25+02:00
ntdll: Fix (Nt|Zw)WaitForMultipleObjects signature.
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.