HomePhabricator

Windows: explicitly cast constants to `DWORD`

Description

Windows: explicitly cast constants to DWORD

STATUS_SINGLE_STEP and STATUS_BREAKPOINT are defined as 0x8------ which
is negative and thus can't be implicitly narrowed to a DWORD which is
unsigned. The value is defined differently across winnt.h and ntstatus.h.

Patch by Gwen Mittertreiner!

Details

Committed
compnerdAug 23 2019, 10:58 AM
Parents
rL369787: [AMDGPU] Automatically generate various tests. NFC
Branches
Unknown
Tags
Unknown