https://issues.dlang.org/show_bug.cgi?id=13751

Mike Parker <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |INVALID

--- Comment #1 from Mike Parker <[email protected]> ---
WaitForMultipleObjects is a Win32 API function. If you look at the
documentation for it [1], the first parameter is a DWORD, which is always
defined as a 32-bit integer on both 32-bit and 64-bit Windows. The prototype in
DRuntime cannot change this.

The problem here is with DFL, not DRuntime. The fix is to cast the .length
parameter to a DWORD when making the function call.

--

Reply via email to